Skip to content

Remove extra list copying #7

@Julian

Description

@Julian

(Filing this mostly as a reminder after taking a quick look at the code)

A bunch of places materialize Python lists of tokens unnecessarily (by calling list() on some iterable).

This isn't a huge deal as we likely will never really need to deal with giant schemas, but it's unnecessary.
We should instead only do this if/when we ever need to (e.g. to maintain state for our additional parsing).

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