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
According to a profiling data from a large number of servers at Google, bytes.Buffer.WriteByte is within the top 100 functions by CPU time. Each call to WriteByte requires another method call to grow(1). We should optimize this by doing a special check if we can simply grow the capacity by 1 before calling that method.
The text was updated successfully, but these errors were encountered:
According to a profiling data from a large number of servers at Google,
bytes.Buffer.WriteByte
is within the top 100 functions by CPU time. Each call toWriteByte
requires another method call togrow(1)
. We should optimize this by doing a special check if we can simply grow the capacity by 1 before calling that method.The text was updated successfully, but these errors were encountered: