3 ms·
Since this is fairly static data, preprocess the on-disk format to match your memory layout and just mmap the file so that your memory usage for the DB is effec
by vlovich123 2y ago
Since this is fairly static data, preprocess the on-disk format to match your memory layout and just mmap the file so that your memory usage for the DB is effectively 0 and the OS kernel pages it in/out for you based on system-level needs?
- mstremer 2y agoOr get a ready-made solution like libloc that implements this already with a tree, deduplication and blazing-fast lookups. See https://location.ipfire.org/ https://location.ipfire.org/
- 1a527dd5 2y agoI feel like you should add a slight disclaimer that you are involved in the project in some capacity :)