Speed using java.nio.ByteBuffer vs byte[]
I have a potentially huge array of bytes that will be created at runtime which my program will then need to access frequently at random locations. I'm not sure whether it is best to store the array in a traditional byte[] and simply dereference the index I need, or to create a ByteBuffer and seek then read. I've heard that ByteBuffer is 'faster', but am not sure if that would apply to this situation.

