bypass slow stream
use ByteBuffer as middle buffer
buffer on packing
reduce loop count
use instance buffer, instead of class buffer
Merge branch 'improve-performance'