key/value store optimized for disk storage
Paul Rubin
no.email at nospam.invalid
Mon May 7 01:34:52 EDT 2012
John Nagle <nagle at animats.com> writes:
> That's awful. There's no point in compressing six characters
> with zlib. Zlib has a minimum overhead of 11 bytes. You just
> made the data bigger.
This hack is about avoiding the initialization overhead--do you really
get 11 bytes after every SYNC_FLUSH? I do remember with that SYNC_FLUSH
trick, that I got good compression with a few hundred bytes of input
(the records I was dealing with at the time).
More information about the Python-list
mailing list