UNPACK multiple constructors

18 Mar
2009
18 Mar
'09
2:10 p.m.
{-# UNPACK #-} is specified to work on single-constructor types, but would there be advantages to, for instance, compiling data BinTree e = Node e {-# UNPACK #-} !(Maybe (BinTree e)) {-# UNPACK #-} !(Maybe (BinTree e)) into four constructors, one for each combination of Maybe constructors? Thoughts? Louis Wasserman wasserman.louis@gmail.com
5909
Age (days ago)
5909
Last active (days ago)
0 comments
1 participants
participants (1)
-
Louis Wasserman