You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As noted at golang/go#50774, append is designed to minimize space wasted at the end of the buffer, whereas most people using json-iterator probably want to optimise for minimum CPU usage.
I can make a PR, but posting this as an issue first to get feedback.
The text was updated successfully, but these errors were encountered:
json-iterator is using
append
in many places to grow a buffer, e.g.:go/stream.go
Line 68 in 71ac162
go/stream_int.go
Line 29 in 71ac162
As noted at golang/go#50774,
append
is designed to minimize space wasted at the end of the buffer, whereas most people usingjson-iterator
probably want to optimise for minimum CPU usage.I can make a PR, but posting this as an issue first to get feedback.
The text was updated successfully, but these errors were encountered: