Awesome work Christian. Where can we find your code to test out?
If you don't have a place then I'll carve one out in our depots.
On Sep 24, 2011 5:57 AM, "Christian Pühringer" <christian(a)puehringer.net>
wrote:
Hi Emanuel,
Makes sense that images are not compressed in zim file again, thanks for
the
clarification.
In particular for windows mobile this increases the probability that with
reducing the cluster size
a sufficient performance is achieved (i.p. if there was a better way to
display
images than in android, but I haven't looked into
this).
For android I still expect that it it will be better to use a native
library.
Christian
Am 24.09.2011 14:30, schrieb Emmanuel Engelhart:
> On 24/09/2011 14:24, Christian Pühringer wrote:
>> The JAVA liblzma performance is pretty bad: To increase efficiency of
>> compression in the zim-format articles (and also all
>> other data like images) are stored in clusters. Cluster size is
apparently
about
>> 1 MB. This implies that loading an article
>> which is stored at the end of a cluster involves decompressing the
complete
cluster.
Images should not be compressed in ZIM
files for the obvious reasons
they mainly are already compressed. This is the case for all ZIM files I
made. As far as I know this is also the case for Mediawiki:Collection
build ZIM files.
Emmanuel
_______________________________________________
dev-l mailing list
dev-l(a)openzim.org
https://intern.openzim.org/mailman/listinfo/dev-l