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
Improve ZIP store performance and filesystem listing
- Replace stream-based ZIP access with random-access `ZipFile` for faster and more efficient reads
- Optimize ZIP store initialization by reading the ZIP index only, avoiding full stream traversal
- Introduce improved caching of directory structure and file sizes using synchronized maps
- Simplify internal logic and remove unnecessary dependencies
- Improve filesystem listing performance
Details:
- Removed dependency on Apache Commons ZipArchiveInputStream and related classes in ReadOnlyZipStore
- Added efficient caching using maps for directories and file sizes, async friendly
- Normalized entry names for consistent lookup
- Reduced redundant computations (e.g. cached entry sizes)
- Simplified stream handling and chunk calculation
These changes significantly improve performance, reduce complexity,
and make the ZIP store implementation more maintainable.
0 commit comments