-
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
Decide on the fate of the Borrowed variant in DataPayload #752
Labels
C-data-infra
Component: provider, datagen, fallback, adapters
S-medium
Size: Less than a week (larger bug fix or enhancement)
T-techdebt
Type: ICU4X code health and tech debt
Milestone
Comments
2021-06-04: Conclusion: Removed the Borrowed variant, and add it back in the future when we have a clearer use case. |
Conclusion: Eliminate |
Some more ideas for the lifetime name:
|
2021-06-10: Go with |
Check if |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-data-infra
Component: provider, datagen, fallback, adapters
S-medium
Size: Less than a week (larger bug fix or enhancement)
T-techdebt
Type: ICU4X code health and tech debt
The Borrowed variant of DataPayload[Inner] pulls in the
'd
lifetime parameter. This has caused some challenges, including:The main use case for the Borrowed variant is to pave the way toward future no-alloc use cases.
If we decided to keep the Borrowed variant, there are some options we could explore to work around the trait object issues mentioned above.
Also decide on the names of the lifetimes (
'd
and's
).The text was updated successfully, but these errors were encountered: