nikolche
Joined 11 years ago
Karma
7
Submissions
16
Member since
Nov 21
Joined 11 years ago
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.
I totally agree a tutorial like this is needed, and I am going to add such documentation soon...