bubbles icon indicating copy to clipboard operation
bubbles copied to clipboard

key: string-based parsing is inefficient

Open knz opened this issue 3 years ago • 0 comments

Every time a bubble calls key.Matches the key is rendered as a string and then the string is compared. This is inefficient, and also the heap allocation (1 for each case in the switch!) creates noise in the go GC.

knz avatar Oct 02 '22 18:10 knz