Skip to content

Conversation

gmaclennan
Copy link
Member

This reaches into some internals of Archiver and its dependency Zip Stream in order to sort the entries that are written to the zip central directory record. By default Archiver writes the directory entries in the same order as the files are written to the zip, but this is not necessary per the zip spec. When reading a styled map package, resources like style.json can be read as soon as their directory entry is read, so putting the style.json first speeds up the initial appearance of a map when viewing an SMP.

@gmaclennan gmaclennan self-assigned this Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant