This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is.
Post
Ragnar {Groot Koerkamp}
curiouscoding.nl
did:plc:olhpu3lwhpafue3jjmhat4mj
Here's a fun little problem:
Given a u64 mask, find the max of (#1 bits - #0 bits) over all 65 suffixes of the mask.
Currently I go byte-by-byte with a lookup table, but it's ugly and slow.
Bonus points if it works in SIMD as well.
Idea is to quickly see if Myers' bitpacking has any low values.
2025-04-29T12:26:44.758Z