3 ms·
Bit fields certainly have lots of uses that can't be replaced by databases.
by planteen 10y ago
Bit fields certainly have lots of uses that can't be replaced by databases.
- striking 10y agoI'm not questioning the usefulness of bitfields. But in this case, it would be silly not to use a database instead. The method that the article describes (storing two-dimensional arrays of "empty", "black", and "white" in 2 bits) is also not the best one to use to store Go games. Chopping up games and creating deltas from them, or storing the moves rather than the sheets themselves and recreating those sheets on the fly, are best for data compression. Bitfields are great, but not for this.