Reducing allocations
kishaningithub opened this issue · comments
First of all, thanks for creating this package.. i really love the simplicity of this code base. I could read the whole codebase and make sense out of it in 15 mins.
However one this that concerns me is the no of allocations as benchmarked here
https://github.com/uber-go/zap#performance
Would like to use this place to huddle on improvements that can be done to reduce the no of allocations without sacrificing the simplicity of this codebase.
https://chris124567.github.io/2021-06-21-go-performance/
This blog was very informative