Skip to content

10x slower performance over ICU #57

@Manishearth

Description

@Manishearth

@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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions