<div dir="ltr">2016-02-26 3:17 GMT+01:00 Ryan C. Gordon <span dir="ltr"><<a href="mailto:icculus@icculus.org" target="_blank">icculus@icculus.org</a>></span>:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
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.<br>
<br>
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.<br></blockquote><div><br></div><div>Possibly related to this? <a href="https://twitter.com/Ancurio/status/543069908301791233">https://twitter.com/Ancurio/status/543069908301791233</a><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
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.<br>
<br>
Thanks!<br>
<br>
--ryan.<br>
<br>
_______________________________________________<br>
physfs mailing list<br>
<a href="mailto:physfs@icculus.org" target="_blank">physfs@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/physfs" rel="noreferrer" target="_blank">http://icculus.org/mailman/listinfo/physfs</a></blockquote></div><br></div></div>