Many thanks for this detailed feedback and example.
I totally agree a tutorial like this is needed, and I am going to add such documentation soon...
7 karma · joined November 21, 2015
I totally agree a tutorial like this is needed, and I am going to add such documentation soon...
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.