Skip to content
Permalink
Browse files
zip: Reworked how we organize ZIP entries.
We now use a hashtable for lookups of specific paths, and organize the
entries into a directory tree. The end result is fast lookup and fast
enumeration without having to search a sorted array or tapdance with
substrings...which means the rare, mysterious bug where we failed
to find an existing file should be gone now, too.
  • Loading branch information
icculus committed Feb 25, 2016
1 parent acd00dd commit b479c57bcb30486512bb774cd967c4826f2902af
Showing with 302 additions and 276 deletions.
  1. +288 −274 src/archiver_zip.c
  2. +9 −0 src/physfs.c
  3. +5 −2 src/physfs_internal.h

0 comments on commit b479c57

Please sign in to comment.