Skip to content

Enum containers avoid per-element metadata for homogenous collections#75

Merged
frankmcsherry merged 3 commits intomasterfrom
homogenous_enums
Mar 14, 2026
Merged

Enum containers avoid per-element metadata for homogenous collections#75
frankmcsherry merged 3 commits intomasterfrom
homogenous_enums

Conversation

@frankmcsherry
Copy link
Copy Markdown
Owner

This came out of vectorization work for Materialize; a reasonable amount of time (compared to the SIMD) is preparing the discriminants and offsets for homogenous collections. They are each redundant in this case.

This was largely written by Claude, and needs to be double checked now that it is more readable.

Copy link
Copy Markdown
Contributor

@antiguru antiguru left a comment

Choose a reason for hiding this comment

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

Seems good!

@frankmcsherry frankmcsherry merged commit 432aa95 into master Mar 14, 2026
6 checks passed
@frankmcsherry frankmcsherry deleted the homogenous_enums branch March 14, 2026 01:12
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.

2 participants