Quote:
Originally Posted by Muzza
For this game I prioritized load times because of the floppy version and because some of the decompression times can be significant too.
|
In your example the data loaded/decompressed is 1000k vs 800k, which doesn't seem like like a big difference to me. After all you won't be changing levels that often, right?
But how many disks is that data spread over? Ideally there should be no more than one disk change between levels and no changes if restarting the same level.
Quote:
The downside is that over time, fragmentation increases.
|
If this is fragmentation of system memory it could make the system unstable. Better to allocate the maximum amount required at startup and use it as your own private pool. If memory allocation fails you just flush and reload all, then the worst case is no worse than option 1.