Re: [Wikitech-l] Phonegap and Wikimedia mobile apps
Firstly, thank you again for doing the java port.
I've one question regarding the features of the port:
Is there or do you plan to add a feature for iterating over the index? (Similar to find/findByTitle in C++ zimlib)
This would be required to add some auto complete feature to the phonegap app.
Best regards,
Christian
Am 24.09.2011 14:42, schrieb Arunesh Mathur:
Yes, images are not compressed in ZIM files, as Emmanuel pointed out.
Also, I have tried decompressing a LZMA compressed file on an Android phone (HTC Wildfire to be precise), and the decompression speed is not a problem.
LZMA-Java is under frequent development by Lasse Collin, so we should make sure that the latest code is used.On Sat, Sep 24, 2011 at 6:00 PM, Emmanuel Engelhart <emmanuel-dU3mOXAlhucBXFe83j6qeQ@public.gmane.org> wrote: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-rOD9jy6iqmlAfugRpC6u6w@public.gmane.org
https://intern.openzim.org/mailman/listinfo/dev-l
--
Best,
Arunesh Mathur
IV year, Undergraduate,
Department of Computer Science and Engineering,
National Institute of Technology Karnataka Surathkal,
India.
_______________________________________________ dev-l mailing list dev-l-rOD9jy6iqmlAfugRpC6u6w@public.gmane.org https://intern.openzim.org/mailman/listinfo/dev-l
<div>
Hi Arunesh,<br><br>
Firstly, thank you again for doing the java port.<br><br>
I've one question regarding the features of the port: <br>
Is there or do you plan to add a feature for iterating over the
index? (Similar to find/findByTitle in C++ zimlib)<br>
This would be required to add some auto complete feature to the
phonegap app.<br><br>
Best regards,<br>
Christian<br><br>
Am 24.09.2011 14:42, schrieb Arunesh Mathur:
<blockquote cite="mid:CAF62jJDpVMgtYL3KwN6rNZSqBPhhgd7tDWBo0mdqHadtbFoKuQ@..." type="cite">Yes, images are not compressed in ZIM files, as
Emmanuel pointed out.<br><br>
Also, I have tried decompressing a LZMA compressed file on an
Android phone (HTC Wildfire to be precise), and the decompression
speed is not a problem. <br><br>
LZMA-Java is under frequent development by Lasse Collin, so we
should make sure that the latest code is used.<br><br><div class="gmail_quote">On Sat, Sep 24, 2011 at 6:00 PM, Emmanuel
Engelhart <span dir="ltr"><<a moz-do-not-send="true" href="mailto:emmanuel@...">emmanuel@...</a>></span>
wrote:<br><blockquote class="gmail_quote">On
24/09/2011 14:24, Christian Pühringer wrote:<br>
> The JAVA liblzma performance is pretty bad: To increase
efficiency of<br>
> compression in the zim-format articles (and also all<br>
> other data like images) are stored in clusters. Cluster
size is apparently about<br>
> 1 MB. This implies that loading an article<br>
> which is stored at the end of a cluster involves
decompressing the complete<br>
> cluster.<br><br>
Images should not be compressed in ZIM files for the obvious
reasons<br>
they mainly are already compressed. This is the case for all
ZIM files I<br>
made. As far as I know this is also the case for
Mediawiki:Collection<br>
build ZIM files.<br><br>
Emmanuel<br><br><br>
_______________________________________________<br>
dev-l mailing list<br><a moz-do-not-send="true" href="mailto:dev-l@...">dev-l@...</a><br><a moz-do-not-send="true" href="https://intern.openzim.org/mailman/listinfo/dev-l" target="_blank">https://intern.openzim.org/mailman/listinfo/dev-l</a><br><br>
</blockquote>
</div>
<br><br clear="all"><br>
-- <br>
Best,<br><br>
Arunesh Mathur<br>
IV year, Undergraduate,<br>
Department of Computer Science and Engineering,<br>
National Institute of Technology Karnataka Surathkal,<br>
India.<br><br><br><br>_______________________________________________
dev-l mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dev-l@...">dev-l@...</a>
<a class="moz-txt-link-freetext" href="https://intern.openzim.org/mailman/listinfo/dev-l">https://intern.openzim.org/mailman/listinfo/dev-l</a>
</blockquote>
<br>
</div>
RSS Feed