Use them masked in integers. SQLite internally uses varint
to save space, such that smaller values will use less bytes (from The SQLite Database File Format)
Frage
I saw across this site questions similar to this one and the answers were usually not to use bit masks
. One of the strongest reasons not to do that was that it even won't save memory
because the SQL server
wrapped bit
columns to a single byte
.
However, to my understanding, there are no bit columns in SQLite
so there will be some memory waste.
What do you think? To use or not to use?
Keine korrekte Lösung
Andere Tipps
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow