Simplify/improve NIOConnection.deliver() by removing ByteBufferWriter.
For every packet being delivered the `ByteBufferWriter` creates a new String for every few chars written and puts it to the buffer. According to my tests it is more efficient to create only one string and put it into the buffer once. (10-20% better performance)
Showing
Please register or sign in to comment