A little fix request for the packer lib

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

A little fix request for the packer lib

Post by Inf0Byt3 »

I've been playing with the packer lib for some while now and while using it, i've seen that the pack routines are not buffered. For example if I use AddPackFile() with a couple of 500mb files, all the previous compressed data is hold in the memory and not commited to disk, so it is kinda useless for compressing big files. Gnozal's ZIP lib is buffered, it doesn't exceed a few megs of ram while packing huge files. Could there be done some improvements to the lib?

Thanks!
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)