Get the latest tech news
A compact bitset implementation used in Ocarina of Time save files
A 16-bit bitset implementation used in Ocarina of Time save files - jb55/oot_bitset
A no‑frills, zero‑overhead flag system inspired by The Legend of Zelda: Ocarina of Time Need to pack hundreds (or thousands) of one‑bit flags —“talked to an NPC”, “opened a chest”, etc.—into a save file without wasting bytes? Simple, header‑only, zero deps – drop a header (C) or add a tiny dependency (Rust).
Or read this on Hacker News