Only decompress a specific bzip2 block

前端 未结 2 594
长发绾君心
长发绾君心 2020-12-30 09:54

Say I have a bzip2 file (over 5GB), and I want to decompress only block #x, because there is where my data is (block is different every time). How would I do this?

I

2条回答
  •  被撕碎了的回忆
    2020-12-30 10:21

    It's true that bzip-table is almost as slow as decompressing but of course you only have to do it once and you can store the output in some fashion to use as an index. This is perfect for what I need but may not be what everybody needs.

    I did need a little help getting it to compile on Windows though.

提交回复
热议问题