Skip to content

Refactor: Optimize type matching in Selector using binary_part#688

Closed
preciz wants to merge 1 commit intophilss:mainfrom
preciz:optimize-type-match
Closed

Refactor: Optimize type matching in Selector using binary_part#688
preciz wants to merge 1 commit intophilss:mainfrom
preciz:optimize-type-match

Conversation

@preciz
Copy link
Copy Markdown
Contributor

@preciz preciz commented Apr 17, 2026

Replace complex bitstring pattern matching for namespace type matching with a 0-allocation binary_part/3 implementation. This approach avoids extracting substrings at runtime, simplifying the code, improving execution speed, and reducing memory allocation.

Replace complex bitstring pattern matching for namespace type matching with a 0-allocation binary_part/3 implementation. This approach avoids extracting substrings at runtime, simplifying the code, improving execution speed, and reducing memory allocation.
@preciz preciz force-pushed the optimize-type-match branch from d39bba6 to 7097fb6 Compare April 17, 2026 22:41
@preciz preciz closed this Apr 17, 2026
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