-
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
Merge CodePointTrie, UnicodeSet, and Char16Trie into the same crate #1856
Comments
I agree, but we should name them better |
Is this a code organization thing, or is there a technical benefit to doing this, or something else? I assume dead code elimination means that there's not a perf difference either way. But making such a change like this requires churn (we've had the churn already moving both UnicodeSet and CodePointTrie from If it's a code organization thing (ex: too many crates within +1 to reviewing naming |
To me it's actually more of a documentation and API design thing: it's easier to have this all in one, holistically-documented crate that can talk about the different types and their use cases. The current situation is kinda confusing, though that may just be because of the names. |
Okay, it sounds like it better fits the Rust idiomatic practices around crates & the API docs that they generate... that sounds fine to me. Hopefully we feel confident that this is the end state of code organization (no need for more refactoring). Although more than refactoring, naming this new crate seems like the real challenge. :-) |
I approve, especially because we have cross-dependencies. What are we calling this crate? |
Discussion:
Naming suggestions: If we want to tie it to ICU:
If we don't want to tie it to ICU but have a clear name:
If we want a clever name:
|
Full results of voting: https://docs.google.com/document/d/1aFfGHUzEW8JY7oS95jWdLij82NStljDrsc0Mzr25I0U/edit# Summary: |
Given that we are going with |
To confirm, I will make the following changes:
(As part of #2141, EDIT: Per Shane suggestion, |
A crate named |
And we're re-exporting it as |
Yes |
I've been thinking for a while that we should have a single crate that houses all of the Unicode data structures, which currently include:
Thoughts?
The text was updated successfully, but these errors were encountered: