-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Description
The current code is a quick write up which is not very optimized, I just wanted it to be correct and simple to begin with.
- Add benchmarks, to be able to actually measure any gains
- Look at codepoint group lookups. Could we optimize lookup order for most common groups? Check upper/lower bounds of group before checking all individual ranges?
- Speed up iteration logic? Should we always return the graphemes and join strings etc, even when only needed for counting or getting lengths?
- Add documentation for performance considerations. Notes about linear performance scaling etc.
Reactions are currently unavailable