Skip to content

Do fewer linear searches of element stacks #84

Open
@kmcallister

Description

@kmcallister

e.g. the open elements or active formatting elements. We search these when looking for elements in various scopes, and #77 adds more.

We could track open elements with a bitvector for each scope. Checking if one of a set of elements is open in a particular scope would be a simple bitmask test. We can choose bit patterns to match the static atom indices as well.

We should find an abstraction that makes it hard to screw up the book-keeping.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions