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

refactor!: Drop FrozenNode #496

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

refactor!: Drop FrozenNode #496

wants to merge 1 commit into from

Conversation

mwcampbell
Copy link
Contributor

If we decide to proceed in the direction started by #495, that is, minimizing temporary allocations when updating the tree at the cost of maintaining two copies of the tree state, then this PR is the next logical step. Dropping FrozenNode allows us to update nodes in place, including extending the Vec of properties, at the cost of 8 extra bytes per retained node (increasing the size from 120 to 128).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant