Am Samstag, 26. Dezember 2009 19:46:36 schrieb Manuel Schneider:
Hi,
I apreciate to see this enthusiastic discussion.
My suggestion is:
* we have lzma and bzip2 support in zimlib
* the zimreader can use both algorithms
* as long as we didn't approve lzma to work on all platforms and systems,
the zimwriter uses bzip2 by default * as soon as we can approve lzma we
switch the zimwriter's default to lzma * for experiments, development,
porting etc. someone who knows what he does he can use lzma anyway * after
the approval of lzma we will wait for some time until we are sure that no
more bzip2-compressed are being made, we drop bzip2-support completely
This way we can make the adoption of lzma smooth. The reader will still be
backwards compatible during the transition period.
Have a nice Christmas,
/Manuel
Sounds reasonable, but the disadvantage is, that it will be more difficult to
create a alternative implementation. At least in the transition period. If
someone wants to create a zim implementation in C# or Java, he must implement
both decompression algorithms. Otherwise he will not be able to read all zim
files.
Tommi