4 ms·
I'm surprised they didn't just shoved it in SQLite and called it a day. It's public domain. NIH I guess. Or maybe some old fart in company doesn't want to let
by ilyt 3y ago
I'm surprised they didn't just shoved it in SQLite and called it a day. It's public domain.
NIH I guess. Or maybe some old fart in company doesn't want to let go off their abomination.
- londons_explore 3y agoYou're surprised Microsoft doesn't replace the registry with SQLite in Windows? If so, you might not be aware quite how many millions of entries are in the hierarchical key value database that is the registry, and quite how critical read-write latency is. sqlite can do clever things like multiple indexes and full text search, but won't beat the windows registry on the performance front at the narrow usecase it was designed for.
- anticensor 3y agoSQLite only has two types: INTEGER, BLOB (all other SQL types are implicitly converted to/from BLOB). Registry has many types: SZ, WORD, DWORD, QWORD, BINARY.
- ilyt 3y agoI remember registry starting to crap out and be slow at barely few hundred megabytes. Admittely that was some time ago but still.