Fast multi-source storage method
I'm trying to determine the fastest method to store and retrieve compressed data from a file.
I have 256 blocks of data, with each block holding 16 tiles, and each tile being 10K uncompressed. I want to store all of this in one file with each tile being able to be stored in a compressed state and accessed as fast as possible.
Instead of writing my own file handler with pointers to the blocks and tiles, I was thinking that I would use the Zip classes to store the tiles, indexing them by their block/tile index (according to my scheme).
My question is, how fast are the Zip classes in doing this type of access repeatably, both for reading and writing the Zip archive. Would I be better off writing my own class.