logoalt Hacker News

mock-possumtoday at 4:29 PM0 repliesview on HN

> looking at Rust … it turns out that `Option<bool>` takes up exactly one byte of memory, the same as bool! The same is true for `Option<Option<bool>>`, all the way up to 254 nested options.

Ah how many of those options fit into that boolean. Word games!