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
binary.Read() accounts for about 25% of CPU time when decoding. It's slow because:
it requires using the bytes.Buffer abstraction
it uses reflection sometimes
I think a quick win would be to scrap the function from Go source code and make it work on a slice instead. And remove the part using the reflection (and fix the caller site in Goflow).
The text was updated successfully, but these errors were encountered:
Hey!
binary.Read()
accounts for about 25% of CPU time when decoding. It's slow because:bytes.Buffer
abstractionI think a quick win would be to scrap the function from Go source code and make it work on a slice instead. And remove the part using the reflection (and fix the caller site in Goflow).
The text was updated successfully, but these errors were encountered: