Skip to content

Optimize variant decoding lookups - #402

Merged
ruslandoga merged 1 commit into
masterfrom
rd/optimize-variant-decoding
Aug 2, 2026
Merged

Optimize variant decoding lookups#402
ruslandoga merged 1 commit into
masterfrom
rd/optimize-variant-decoding

Conversation

@ruslandoga

Copy link
Copy Markdown
Collaborator

Stores decoded Variant member types as a tuple and uses elem/2 for indexed lookups. Explicitly rejects out-of-range wire indexes and adds coverage for the tuple representation and invalid indexes. Tested with MIX_ENV=test mix test (474 tests passed).

@ruslandoga
ruslandoga merged commit e19815a into master Aug 2, 2026
3 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.

1 participant