Optimized Input implementation for reading from a byte array that is much more JVM/JIT optimization friendly than reading from an InputStream.
Modified Protocol Buffers Output
Modified Protocol Buffers Output
The main difference between his and the stock Protocol Buffers Implementation is the handling of repeated fields. In this implementation:
The Stock Implementation:
Modified Protocol Buffers Output
Modified Protocol Buffers Output
The main difference between his and the stock Protocol Buffers Implementation is the handling of repeated fields. In this implementation:
The Stock Implementation:
Call String.intern() on any strings read