Skip to content

Conversation

@JonatanWaern
Copy link
Contributor

  • Create a minimal constructor for Symbol and use it
  • Remove unused enum
  • Allow easier examination of uniqueness of Symbols
  • Accumulate reference matches instead of returning

Signed-off-by: Jonatan Waern <[email protected]>
Assigns a global and unique ID to each symbol, stored together with it in its symbolref. Allowing us
to efficiently perform EQ and Hash on symbolrefs without locking the actual ref

Signed-off-by: Jonatan Waern <[email protected]>
Should be more efficient _and_ also results in cleaner code

Signed-off-by: Jonatan Waern <[email protected]>
@JonatanWaern JonatanWaern requested a review from TSonono October 15, 2025 09:44
Copy link

@TSonono TSonono left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a fantastic improvement. Both in regard to memory usage, but most importantly the performance boost is huge! Great job!

@JonatanWaern JonatanWaern merged commit d0f98ee into main Oct 20, 2025
4 checks passed
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.

3 participants