Files
nenya/src
Andrzej Kapolka d46608becd I tested it on Linux, and on Windows, and on OS X: on every platform,
near as I can tell, it's substantially faster to read resources
directly from the jar file rather than unpacking them first.  Why
would that be?  Well, for starters, I'm guessing it takes less time to
decompress data than to read more data from the storage device.  Also,
it's likely to use disk space more efficiently: having all the
resources in one jar makes it more likely that they'll occupy adjacent
blocks, not to mention the fact that there's less wasted space from
partially filled blocks.  So, add an option to avoid unpacking files
from jars before reading them.  This doesn't work with FastImageIO's
memory-mapped image reading, but we don't use that in Spiral Knights.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1164 ed5b42cb-e716-0410-a449-f6a68f950b19
2011-05-06 22:58:07 +00:00
..