Re:Native C/C++ Like Performance For Java Object Serialisation
by throwaway54-762 on Thursday July 05, 2012 @03:40PM
(#4204609)
Is the unsafe version doing bounds-checking? I imagine de-serializing is much faster without branching, although probably not a great idea.
Hadoop's IPC protocol does something similar to what this article describes. They roll their own serialization format[0] and write to a wrapped ByteArrayOutputStream[1].
Hadoop's IPC protocol does something similar to what this article describes. They roll their own serialization format[0] and write to a wrapped ByteArrayOutputStream[1].
[0]: Example of a serialized object: https://github.com/apache/hadoop-common/blob/fdf697eebc95cbb...
[1]: https://github.com/apache/hadoop-common/blob/fdf697eebc95cbb...