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

Samuel Bronson naesten at gmail.com
Sat Nov 4 19:09:45 EST 2006


On 11/4/06, Samuel Bronson <naesten at gmail.com> wrote:
> Thu Oct 12 08:55:53 EDT 2006  Samuel Bronson <naesten at gmail.com>
>   * 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)...


More information about the Libraries mailing list