Skip to content

Conversation

tzaeschke
Copy link
Owner

@tzaeschke tzaeschke commented Mar 3, 2022

This implements issue #9
It uses a union in Entry to store values and references to subnodes.
Due to values being represented by a std::optional, this union will rarely (if ever) reduce effective memory space.
However, it will free up some bytes that cane be used for other things, such as postfix/infix lengths, see issue #11.

@tzaeschke tzaeschke self-assigned this Mar 3, 2022
@tzaeschke tzaeschke merged commit 45f2bf5 into master Mar 9, 2022
@tzaeschke tzaeschke deleted the fix/issue-9-Entry-union branch March 9, 2022 17:39
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