Dear rooters,
I am using TClonesArray to pass objects from one computer to another over the network. Thus, I am using Streamer. Because of performance reasons I need to avoid it.
Is it possible to have my objects in a continuous block of memory? I would like to have the same behavior as with C++ vectors. First reserve maximum possible memory usage (like vector.reserve()) and then pass this block of memory to another computer with something like memcp function.
With TClonesArray one allocates continuous block of memory for pointers. Can we have the same behavior for the objects? May be not TClonesArray?
Best,
Kostya