Skip to content

perf: decrease parsing related garbage by using more transducers #146

@thenonameguy

Description

@thenonameguy

There are a few places internally that use unnecessary intermediate object allocation, especially operations over maps.
One project which has helped with this problem is https://github.com/cgrand/xforms
It has a syntactically easy abstraction of creating reduce-kv equivalent transducing contexts which avoid intermediate k/v vectors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions