zonghaishang opened a new issue #186: URL: https://github.com/apache/dubbo-go-hessian2/issues/186
<!-- Please only use this template for submitting enhancement requests --> **What would you like to be added**: 背景: 在使用hessian库解码时,遇到hessian在处理string时性能很差。 优化前后数据对比(提升55.9%): 优化前: BenchmarkDecodeStringOrigin-12 2000000 661 ns/op 274 B/op 7 allocs/op 优化后: BenchmarkDecodeStringOptimized-12 5000000 291 ns/op 226 B/op 6 allocs/op hessian go库内部多处会用到decode string, 比如map、list,因此会带来整体库性能收益。 **Why is this needed**: 提升rpc性能 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
