I propose to solve bug #3171 by having two compression threads, one for very small files (say up to 64K), and one for everything else. This relies on the assumption that compressing something very small uses very little memory. Is this a fair assumption? Do lzma or bzip2 allocate big tables up front which depend on the size of the window and not on the size of the file? Do we need to adapt the size of the window to the size of the file?
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Devl mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
