[physfs] .zip directory information...

Jonas Kulla nyocurio at gmail.com
Fri Feb 26 02:26:18 EST 2016


2016-02-26 3:17 GMT+01:00 Ryan C. Gordon <icculus at icculus.org>:

>
> I pushed a change to the ZIP archiver last night. Instead of storing all
> the filenames in a big linear array, it now stores them in a tree, and then
> each item in that tree is also stored in a hash table.
>
> The end result is that some kind of wildly strange code, that hopped all
> over an array parsing strings on every interaction with the filesystem, is
> now gone. Initial loading, lookups and enumeration should all be
> faster--knock on wood--even on really large .zip files, but more
> importantly: the weird bug where sometimes PhysicsFS would fail to open an
> abritrary file contained in a .zip should be gone now.
>

Possibly related to this?
https://twitter.com/Ancurio/status/543069908301791233


>
> This code is all of 24 hour old at this point, so it's probably too soon
> to ship it to customers, but I would appreciate it if people that are using
> builds of PhysicsFS from the bleeding edge of revision control could update
> and test their apps with this.
>
> Thanks!
>
> --ryan.
>
> _______________________________________________
> physfs mailing list
> physfs at icculus.org
> http://icculus.org/mailman/listinfo/physfs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/physfs/attachments/20160226/28f28480/attachment.html>


More information about the physfs mailing list