The performance optimization is based on:
- using off-heap input and output buffers,
- minimizing the number of objects that are created when parsing the input and generating the output,
- using object pools to reuse the objects that must be created,
- using thread-local helper data structures on the I/O threads to avoid synchronization and object instantiation.
The performance optimization is based on: - using off-heap input and output buffers, - minimizing the number of objects that are created when parsing the input and generating the output, - using object pools to reuse the objects that must be created, - using thread-local helper data structures on the I/O threads to avoid synchronization and object instantiation.