nsZipArchive::InflateItem does an extra memcpy of every file's content when it's inflating into a buffer instead of a file (the usual case). It could use the allocated buffer directly in the inflate step.
It would be good to measure the improvement if this is a lot of time sink. Gut feel is this could save about 215 memcpy of <filesize> and all files we read on startup arent that big (< 4k). Let me know if you want me to help measure the cost. If it is an easy thing to fix, go ahead.
This 'bug' has been solved not so long ago, and should be closed. See bug 189528. *** This bug has been marked as a duplicate of 189528 ***
Status: ASSIGNED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.