Replies: 1 comment 3 replies
-
This is a lot of code (some of it commented?) and not very much information to go on. Try getting a memory profile to figure out where the allocations are happening? If you can pinpoint where it happens I can probably tell you whether you can make them go away. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
possible to make this zero alloc?
save this as main_test.go
go test -bench=. -benchmem
Beta Was this translation helpful? Give feedback.
All reactions