Skip to content

Conversation

aspizu
Copy link
Owner

@aspizu aspizu commented Jul 18, 2025

No description provided.

aspizu added 3 commits July 17, 2025 11:49
- Add PartialEq implementations for Expr, Name, and Value types
- Add DuplicateSwitchCasePattern diagnostic for error reporting
- Implement switch-case transformation with optimized code generation:
  - Use linear search for small cases (<25) and non-integer cases
  - Use binary search tree for large integer cases (≥25)
  - Include duplicate case pattern detection and reporting
- Update visitor to integrate switch-case functionality
@aspizu aspizu marked this pull request as draft July 18, 2025 10:45
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