My Java application is storing Protobuf messages in a database. The application is fast, but it could be made faster because not all parts of the messages are always used, causing wasted CPU cycles on unneeded data. Also, some messages have tree-like structures, causing more memory to be allocated than I'd like.
After doing some research, it seems FlatBuffers would be a nice replacement since it's claiming that it's zero-allocation/zero-parse. However, the benchmarks have been ran against C++. My application is written in Java. Is the Java implementation for FlatBuffer's still fast and is it still zero-allocation/zero-parse?