in reply to Re: gzseek for perl filehandles
in thread gzseek for perl filehandles

OP here,

I think I found some equivalent off-the-shelf solutions:

fusecompress and fuse-zip and compFUSEd.

If anyone has any experience with the above they can share, it would be greatly appreciated.

However, I still think the original idea could work with an ordered dictionary, given that resets can be identified.

Replies are listed 'Best First'.
Re^3: gzseek for perl filehandles
by afoken (Chancellor) on Dec 27, 2010 at 14:38 UTC
    could work with an ordered dictionary

    Perhaps you should take a look at cdb and CDB_File. If size is an issue, think about compressing each record separately before stuffing it into cdb.

    Also, think about using SQLite (i.e. DBI and DBD::SQLite).

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)