Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeMap #32

Merged
merged 4 commits into from
Nov 12, 2024
Merged

TypeMap #32

merged 4 commits into from
Nov 12, 2024

Conversation

BenBaryoPX
Copy link
Collaborator

@BenBaryoPX BenBaryoPX commented Nov 12, 2024

Add a typeMap object to the root node which maps node types to the actual nodes, so instead of iterating over the array to search for nodes, one can iterate over rootNode.typeMap[<nodeType>] for the relevant nodes

@BenBaryoPX BenBaryoPX self-assigned this Nov 12, 2024
@BenBaryoPX BenBaryoPX added the enhancement New feature or request label Nov 12, 2024
@BenBaryoPX BenBaryoPX merged commit b2f7e1b into main Nov 12, 2024
2 checks passed
@BenBaryoPX BenBaryoPX deleted the typemap branch November 12, 2024 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant