Skip to content

Small-only and Fast-only getters for CodePointTrie #5796

@hsivonen

Description

@hsivonen

Currently, the getters for CodePointTrie branch multiple times on the trie type.

There should be a set of getters that statically assume the trie type is "small", another set that statically assumes trie type "fast", a public getter for the type, and then the current set of getters should branch on the type once and then delegate to the statically-assuming getters.

See #2431.

Metadata

Metadata

Assignees

Labels

A-performanceArea: Performance (CPU, Memory)C-collatorComponent: Collation, normalizationS-smallSize: One afternoon (small bug fix or enhancement)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions