• Sylvain Henry's avatar
    Faster exactLog2 · ac73c1b1
    Sylvain Henry authored
    Make `exactLog2` faster (use `countLeadingZeros` and Int32 bit-ops).
    
    On my Core i7-9700k Criterion reports ~50% speedup (from 16 to 8ns).
    ac73c1b1
Util.hs 48.4 KB