Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10x slower performance over ICU #57

Open
Manishearth opened this issue May 20, 2020 · 0 comments
Open

10x slower performance over ICU #57

Manishearth opened this issue May 20, 2020 · 0 comments

Comments

@Manishearth
Copy link
Member

@zbraniecki did some bemchmarking of unicode-normalization against ICU: unicode-org/icu4x#93 (comment)

We're 10 times slower, which doesn't seem great. Worth figuring out why; I bet it's the lookup speed.

Some low hanging fruit: qc_nfd and qc_nfk are just matches, we should follow what unicode-segmentation does and have cached binary searches (ideally, ones with an ascii special case so every space character doesn't reset the cache).

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

No branches or pull requests

1 participant