Skip to content

Consider exposing sort keys #2689

Open
Open
@Lucretiel

Description

@Lucretiel

It would be nice if icu_collator had exported sort key types, in addition to Collator::compare. This would allow sort keys to be computed once (via sort_by_key or similar utilities), after which they only need to be compared (which I understand to be much simpler than the computation step, and also not locale-sensitive).

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-collatorComponent: Collation, normalizationU-googleUser: Google 1st partyhelp wantedIssue needs an assignee

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions