7 ms·
I used to use cdb a lot for random access of small key/value pairs (~100k entries, 10kb per entry). It's effectively a hashtable on disk. https://cr.yp.to/cdb.
by euske 5y ago
I used to use cdb a lot for random access of small key/value pairs (~100k entries, 10kb per entry). It's effectively a hashtable on disk.
https://cr.yp.to/cdb.html https://cr.yp.to/cdb.html
- johnisgood 5y ago> No random limits: cdb can handle any database up to 4 gigabytes. I suppose this could easily be changed, right? I could not compile it though. I got this error: /usr/bin/ld: errno: TLS definition in /lib/x86_64-linux-gnu/libc.so.6 section .tbss mismatches non-TLS reference in cdb.a(cdb.o) /usr/bin/ld: /lib/x86_64-linux-gnu/libc.so.6: error adding symbols: bad value I never came across this before. Ideas as to why or how to fix? Nevermind, I fixed it. I added `#include <errno.h>` to `error.h`.