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
So the issue here seems to be that while the []any slice can be stack allocated, a pointer inside an interface inside a slice can't be. I don't know how the Go compiler manages to avoid allocations here, because it's basically an allocation inside an allocation.
(Also, sidenote, AFAIK the Go compiler also supports //go:noinline).
Test:
Tests
The text was updated successfully, but these errors were encountered: