darcs patch: Use unchecked shifts to implement Data.Bits.rotate

4 Nov
2006
4 Nov
'06
7:05 p.m.
Thu Oct 12 08:55:53 EDT 2006 Samuel Bronson

4 Nov
4 Nov
7:09 p.m.
On 11/4/06, Samuel Bronson
Thu Oct 12 08:55:53 EDT 2006 Samuel Bronson
* Use unchecked shifts to implement Data.Bits.rotate This should get rid of those cases, maybe lower the size enough that the inliner will like it?
Note that this doesn't change the API or behaviour a single bit. Its just that the GHC doesn't know how to optimize comparisons against bitmasked (but unkown values)...
6769
Age (days ago)
6771
Last active (days ago)
2 comments
2 participants
participants (2)
-
Samuel Bronson
-
Simon Marlow