lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello Olivier,
do you suggest something like : https://github.com/brimworks/lua-zlib ?
Saving the decompressing time would be indeed awesome, but I thought bzcat is basically doing the same, no ?  


On Thu, Apr 3, 2014 at 6:09 PM, Oliver Kroth <oliver.kroth@nec-i.de> wrote:
You may also try one of the zlib libraries that create an interface between Lua and the zLib.
This may save you from have to inflate (decompress) the complete file first.

-- Oliver

Am 03.04.2014 16:55, schrieb Valerio Schiavoni:

Hello Luiz
thanks for your reply. But, your solution seems to suggest I first need to decompress before hand the (potentially huge) compressed file.
Is that the case? Do you think it is possible to do it directly on the compressed file, or by pipe'ing its content with zcat for instance ?