3 ms·
Isn't it possible to use SQLite or something for something like this? That would greatly simplify most of these tasks, making your dataset reachable through a f
by striking 10y ago
Isn't it possible to use SQLite or something for something like this? That would greatly simplify most of these tasks, making your dataset reachable through a fast declarative language.
As many games of Go as 100000 is, it's not so big you couldn't use a regular, untuned database.
- planteen 10y agoBit 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.