Bit twiddling hack to quickly create a bitset from an array of boolean | Hacker News Reader