Use raw arrays for uppercase/lowercase #59
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
BeRo1985/flre#59
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Uppercase/lowercase funcs in regex must be very fast. PUCU gives not fast funcs. (some [] indexes, etc). so engine could make internal arrays for first 0xFFFF chars like
array[word] of word;they have big size but fast.
It is also not fully correct. E.g. K (U+212a) should match K or k case insensitively
But table lookups can be rather slow on modern systems when the table is not in the cache