-
Notifications
You must be signed in to change notification settings - Fork 185
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
Move Segmenter to Components #2259
Comments
I added one more small bullet point about the |
The
I wonder whether it is possible to hide it from |
Yeah, okay, let's mark the module as |
Follow-up from #2716: in LineBreakIterator, the grapheme segmenter data should be pre-borrowed so that we don't need to re-borrow it each time. This is a known performance bottleneck that we don't want to propagate in new code. |
I've noticed that the public APIs eagerly return |
Which user-facing public APIs return icu4x/experimental/segmenter/src/complex.rs Lines 187 to 192 in 3eff54d
impl Iterator<Item = usize> seems nice if its caller can benefit from such change.
|
Sorry I got confused by internal APIs that are marked |
Checklist for Segmenter in Components:
#[warn(missing_docs)]
(Add missing doc for segmenter, and turn on the missing_docs warning #2366)provider
stuff at the top level (Provider's data should be in icu_segementer::provider. #2300)DictionarySegmenter
bepub(crate)
(Don't make the dictionary segmenter public. #2271)symbols
module from the documentation (Hide icu_segmenter's symbols module from doc #2317)Remove hardcoded segmenter data from datagen #3003icu
meta-crate (after moving to components)The text was updated successfully, but these errors were encountered: