Hi
This is a really good news :)
The xz lib can not be compiled with MS cl.exe and with every non C99 compatible C compiler. But, an already compiled library (with mingw) should be usable with cl.exe (please do not ask me how they achieve to do that). These infos are in the README
Have to test, but I have no timeline for that yet. Hope have time during january for that task.
Emmanuel
Le jeu 31/12/09 16:32, "Manuel Schneider" manuel.schneider@wikimedia.ch a écrit:
What should I say?
Great! Very good work done, Tommi!
So does this mean we can dismiss all other compression algorithms?
What about the streaming mode when uncompressing? You talked about that
as you said we could improve memory usage on small devices.
Greetings and a good year to all of us!
/Manuel
Am 31.12.2009 16:03, schrieb Tommi M�kitalo:
Hi,
I talked with the xz developer in IRC and he helped
me to reduce memory usage.
The problem was, that compressing with lzma with 9
uncompressing needs about 65MB of RAM. The needed memory is in fact dependend of used compression level. Using level 3 reduced the memory usage to about 1,5MB, that it works now on the NanoNote. There is a additional flag LZMA_PRESET_EXTREME, which makes compressing slower but compression ratio better. Using 3 + extreme results in a file, which works on Nanonote while the size is almost identical with 9 or bzip2.
Uncompressing bzip2 chunks take about 2 seconds
while lzma needs 0,5 seconds on the nanonote. So we keep the size while improving speed with the factor 4!!!
Have a good Year.
Tommi
dev-l mailing list
dev-l@openz
im.org https://intern.openzim.org/mailman/listinfo/dev-l
-- Regards Manuel Schneider
Wikimedia CH - Verein zur F�rderung Freien Wissens Wikimedia CH - Association for the advancement of free knowledge www.wikimedia.ch
_______________________________________________
dev-l mailing list dev-l@openz im.org