You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
probably. Although generation should not be noticeable slower. update should be - i.e. if you only want to read some file metadata without reading the whole file.
Maybe you triggering some bad behavior where a zip file is loaded twice? Previously, you would only pay on reading, but now you pay regardless.
currently, we load the complete zip archive into RAM when opening:
ogre/OgreMain/src/OgreZip.cpp
Line 104 in aa76042
this increases the loading time, if the majority of the contents are not read.
this is a zip API limitation, which only allows passing buffers when externally opening the file.
The underlying miniz API actually allows passing read callbacks:
https://github.com/richgel999/miniz/blob/5a38f5564a092462817b97014f4477c8f0783f8f/miniz_zip.h#L173-L175
using these would allow seeking in the file, which improves loading time in the above scenario.
The text was updated successfully, but these errors were encountered: