unexpected-go
unexpected-go copied to clipboard
Libs’ factory functions like to return pointers to structs,
not the structs themselves. This makes it hard to inline the latter to reduce allocations.