Eliminating overheads of element serialization
Customized ObjectOutputStream replaces primitive arrays with short ArrayProxy object. Separate Vector holding the Java arrays is produced.
“Data-less” byte stream sent as header.
New ObjectInputStream yields Vector of allocated arrays, not writing elements.
Elements then sent in one comm using MPI_TYPE_STRUCT from vector info.