https://bugzilla.wikimedia.org/show_bug.cgi?id=55363

Tommi Mäkitalo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |[email protected]

--- Comment #1 from Tommi Mäkitalo <[email protected]> ---
1. Sorting the mime types do not break the current specification. The
specification just does not force the mime types to be sorted. If we specify
the mime types, that they must be sorted, the previously created zim files
break the specification. This is not really a big problem since even when the
file break the sorting rule, they remain readable with the new zimlib.

2. Sorting is done after collecting the directory entries. The directory
entries are held in memory anyways and hence I do not expect sorting to slow
down generation of zim files. Compression the data is by far more expensive
than sorting the directory entries. I see no need to change anything here.

Note that if we force the generator to deliver the mime types prior to
directory entries, we break the interface of the generator and make it more
difficult to implement the generator interface. Delivering the mime types may
be even more expensive in the generator than in the zimcreator.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to