News for hackers. Stuff that matters.
Re:A neat XOR trick by averne_ on Tuesday December 13, 2022 @07:36AM (#33968064)
You can just use __builtin_popcount or equivalent, which maps to a single instruction on most platforms.

There are no comments on this comment yet.