Closed chuailiwu closed 2 years ago
describe Hessian serialize() method uses toByteArray will copy a new byte array every time.
memory optimization use ThreadLocal variable will reuse the memory for every thread,it will reduce memory allocation once for per serialize
describe Hessian serialize() method uses toByteArray will copy a new byte array every time.
memory optimization use ThreadLocal variable will reuse the memory for every thread,it will reduce memory allocation once for per serialize