1
0
Fork
You've already forked casefold
1

Add is_binary, is_decimal, and is_hex features #2

Merged
krig merged 1 commit from halostatue/casefold:performance-pass into main 2026年05月24日 08:45:59 +02:00
Contributor
Copy link

Switch to explicit case matching for is_* functions instead of string.contains. This results in a ~3-5x performance improvement for
those functions.

Switch to explicit `case` matching for `is_*` functions instead of `string.contains`. This results in a ~3-5x performance improvement for those functions.
Switch to explicit `case` matching for `is_*` functions instead of
`string.contains`. This results in a ~3-5x performance improvement for
those functions.
Signed-off-by: Austin Ziegler <austin@zieglers.ca>
Owner
Copy link

Perfect, thank you!

Perfect, thank you!
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
krig/casefold!2
Reference in a new issue
krig/casefold
No description provided.
Delete branch "halostatue/casefold:performance-pass"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?