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
Thу solution to extensive allocations is to avoid the return of interfaces where possible. Only Slice function should still return result because it's aligned with semantics - new signal buffer is returned.
The following methods return an interface values and cause heap allocations which result in additional load on GC:
There is no real solution to this in current Go. It just should be clear that users can't expect performance of raw Go slices with this methods.
The text was updated successfully, but these errors were encountered: