Skip to content

Conversation

@TurkeyMan
Copy link
Member

enum_keys was emitting an array of enum key strings to the binary (in declaration order).
The new enum tools emits a SORTED list of enum strings (so it can be binary-searched).
2 lists of strings is redundant; so I kept the sorted list which is more useful, and added another small table of bytes which map from the declaration index into the sorted list of strings so that you can lookup by declaration index.

I also eliminated all the redundant length fields, and just stored a single length.

Also eliminated all the redundant length fields, and just store a single length.
@samsinsane samsinsane merged commit 3164ae6 into master Nov 11, 2025
9 checks passed
@samsinsane samsinsane deleted the remove_enum_keys branch November 11, 2025 07:59
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