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

Simplify how variants are handled #877

Merged
merged 7 commits into from
Nov 3, 2024
Merged

Simplify how variants are handled #877

merged 7 commits into from
Nov 3, 2024

Conversation

udoprog
Copy link
Collaborator

@udoprog udoprog commented Nov 3, 2024

This collapses all dynamic data handling into a single type which stores all data linearly in memory. It also discriminates between the values of the dynamic types (e.g. the fields) which allows for accessing RTTI without access checking. This removes a significant number of error paths and speeds up execution under some circumstances.

@udoprog udoprog added the enhancement New feature or request label Nov 3, 2024
@udoprog udoprog force-pushed the simplify-variants branch 2 times, most recently from 84acd09 to 63ebbab Compare November 3, 2024 12:58
@udoprog udoprog merged commit 6b31eda into main Nov 3, 2024
25 checks passed
@udoprog udoprog deleted the simplify-variants branch November 3, 2024 18:26
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