c - seek in compressed file -
i have text files weighing ≈ 200gb.
i'm storing in db pairs of key - position_in_file,
, reaching data using fseek.
is there recommended way compress files,
, seek position in compressed file,
without decompressing beginning of file.
[i prefer use c language]
[no need perform writes. no need super fast]
here example of random access of deflated data. runs through compressed data once build random access index entry points @ every 1 mb of uncompressed data. (you can change density.) each entry point @ deflate block boundary, , saves 32k of uncompressed data precedes in order populate sliding dictionary decompression.
Comments
Post a Comment