Comment

Comment by wholesomepotato

Would use XOR 0x30303030lu, then OR with a value shifted left 12 bits, take bits 24..12 and lookup in 4k pre-computed lookup array.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton