diff options
author | Johannes Schickel | 2012-04-30 00:09:56 +0200 |
---|---|---|
committer | Johannes Schickel | 2012-04-30 00:09:56 +0200 |
commit | f23ca8b62b6be15e570311dcaad301067c8e052a (patch) | |
tree | 8b39fe48807384322f35d2ce510b9cf031fdf6ba /engines/tinsel/play.h | |
parent | e41e412c9ee6c277233ef9f7a5304f8cc40fa370 (diff) | |
download | scummvm-rg350-f23ca8b62b6be15e570311dcaad301067c8e052a.tar.gz scummvm-rg350-f23ca8b62b6be15e570311dcaad301067c8e052a.tar.bz2 scummvm-rg350-f23ca8b62b6be15e570311dcaad301067c8e052a.zip |
COMMON: Use the file cache in ZipArchive::listMembers for performance.
This avoids a new iteration through the .zip file for every listMember call.
Instead it uses the "_hash" HashMap, which already contains all the filenames
and is filled on initializing the ZipArchive by unzOpen.
Diffstat (limited to 'engines/tinsel/play.h')
0 files changed, 0 insertions, 0 deletions