mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 18:49:51 +01:00
Decrypting an entry's contents is by far the most expensive part of walking an archive, and it happened for every entry before the filter was even consulted. Now it waits until entryData()/entryCompression() asks, so pulling just the fonts out of an updater no longer costs a full firmware decrypt. Records are decrypted independently of each other, so deferring one is safe. Unpacking fonts from a 3.11 updater goes 0.365s -> 0.133s; a full unpack is unchanged and produces identical output. The compression counts now describe the entries we actually decoded rather than everything in the archive. Also adds --unpack-updater-filter to headless, which is how the above was measured. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JvJR8oJNSCimCM9KXVLjfq