diff options
author | asynts <asynts@gmail.com> | 2020-08-18 20:49:59 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-20 16:28:31 +0200 |
commit | 8bbb7e25e69cf0fb56ac100b5624c12a52b3b5da (patch) | |
tree | fa12b1d66811149235419469d5f8a14790703174 /Kernel/Console.cpp | |
parent | 30abadcff947feaf9e8c3e968f622bcfdd9b2c1f (diff) | |
download | serenity-8bbb7e25e69cf0fb56ac100b5624c12a52b3b5da.zip |
LibCompress: Turn the DEFLATE implementation into a stream.
Previously, the implementation would produce one Vector<u8> which
would contain the whole decompressed data. That can be a lot and
even exhaust memory.
With these changes it is still necessary to store the whole input data
in one piece (I am working on this next,) but the output can be read
block by block. (That's not optimal either because blocks can be
arbitrarily large, but it's good for now.)
Diffstat (limited to 'Kernel/Console.cpp')
0 files changed, 0 insertions, 0 deletions