Skip to content

key: string-based parsing is inefficient #262

@knz

Description

@knz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions