Skip to content

v1.1.0

Latest

Choose a tag to compare

@SpaskeISO SpaskeISO released this 13 Aug 10:53

cdbgo v1.1.0

  • Align cdb64 with DJB’s format (256 tables, 4KB header)
  • Fix -r replace and -0 zero-fill so lookups and on-disk data are actually updated
  • CLI: exit 1 on errors, exit 100 when a query key is missing
  • Query returns the first value by default; add -a to print all
  • Support stdin for dump, list, and stats
  • Reject 32-bit writes that would wrap past 4GB, and reject corrupt/huge lengths
  • Faster Get/iteration (fewer reads, 1 alloc per lookup)
  • Windows: replace the destination file when rename cannot overwrite

Breaking: rebuild existing .cdb64 files. Use -a if a query should print every value.