2010/4/12 Vladimir 'φ-coder/phcoder' Serbinenko <phco...@gmail.com>:
>
>> You can also buffer the block offsets so that you can seek in the part
>> of the file you have seen already.
>>
>>
> Decompressor is stateful so you'll need to save the sate as well which
> may eat more RAM than decompressing the whole uncompressed file. It also
> doesn't solve the issue of retrieving e.g. the last character from
> compressed file without retrieving all preceding ones

No, the compressed blocks should be separate. Otherwise they would not
be blocks. There is stuff like bzip2recover which would not work
otherwise.

And yes, reading the last character from a file is not solved by this
but you want ascii characters first and those are at the start so the
perceived startup time should be shorter.

Thanks

Michal


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to