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
Slicing the first element of a slice doesn't shrink the capacity of the
underlying slice, so continual appends will cause the memory to grow
unbounded. The proper solution here would be a better data structure,
but since we want this JSON-encodable, we can do a memory shuffle for
now.
Signed-off-by: Jacob Howard <[email protected]>
0 commit comments