for my game I have to store game sectors, each sector is an array of 16x16x256 byte.
What I did is make a method to write sectors into a single string inside a file named after it's coordinate,
and one to read them and rebuilt my object in RAM.
But my write time is about 65ms and read time 135ms wich is quite long since a scene is composed of 900 sectors..
Then someone told me to use serializable objects instead,
after reading some documentation about it I don't see how to use this.
If I serialize object A,B,C and D then I can only get them back in the same order,
but I need to acces files according to their coordinate, not their storage order.
is it me or the serializable class is not what I'm looking for?
thanks