KeyToHash possibly letting key interfaces escape to heap #107
Labels
kind/bug
Something is broken.
priority/P1
Serious issue that requires eventual attention (can wait a bit)
status/accepted
We accept to work on it.
As brought up in the performance Gopher channel, since we're using
interface{}
for keys, this call tokeyToHash
is probably letting the interface escape to heap.Solution: switch over to
string
or[]byte
for public API calls.The text was updated successfully, but these errors were encountered: