Don't let your friends visit all 32 bits in search of 3 set bits:https://deplinenoise.wordpress.com/2015/01/04/walking-set-bits/ …
@deplinenoise @mike_acton benchmarks? Naively, I would assume that this would defeat branch prediction and be slower on 32b bitsets.
-
-
@delroth_@mike_acton Why would it defeat branch prediction? Pattern for branch is 1 1 1 1 1 0 -> exit. Win for small # of bits set in wordThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.