3 ms·
Haven't there been 64-bit ports of CDB for ages?
by tptacek 1y ago
Haven't there been 64-bit ports of CDB for ages?
- wolfgang42 1y agoYes, the modifications you need to support it are trivially obvious (literally just replace “4 bytes” with “8 bytes” everywhere in the spec) and have been implemented by a number of authors, some of which this page links to. I guess it’s nice that they’ve been “officially” acknowledged, though.
- eesmith 1y agoAnd update the hash algorithm, yes?
- eesmith 1y agoIn answer to my own question, no, except for the trivial expansion to 64-bits. https://cdb.cr.yp.to/cdb-20251021/cdb_hash.c.html https://cdb.cr.yp.to/cdb-20251021/cdb_hash.c.html with constants at https://cdb.cr.yp.to/cdb-20251021/cdb.h.html https://cdb.cr.yp.to/cdb-20251021/cdb.h.html .