-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[browser][non-icu] HybridGlobalization
locales covering LocaleStringData
.
#87972
Conversation
"-/NumberElements/*/symbols", "-/calendar/Gregorian/AmPmMarkers", "-/calendar/Gregorian/AmPmMarkersAbbr", "-/calendar/Gregorian/AmPmMarkersNarrow", from locales_tree.
Tagging subscribers to 'arch-wasm': @lewing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How many bytes of code we are adding compared to how many we could eliminate ? Could we trim those extra methods when we are not using Hybrid ?
src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems
Outdated
Show resolved
Hide resolved
We could trim them. Let's consider the Hybrid scenario: we need this PR that implements ~60% of functionalities + one follow up with the rest of changes. This PR results in +75kB change in System.Private.CoreLib.dll while the planned ICU size reduction it would give us is 74kB. In this case, you are right that the size balance after merging this PR does not look good, no matter if Hybrid is on or off. |
Draft Pull Request was automatically closed for 30 days of inactivity. Please let us know if you'd like to reopen it. |
Contributes to #79989.
Public APIs afftected by the change:
Will fix the issue with #44739 - see update in documentation.
This PR renames all previous hybrid files' suffix: WebAssembly -> Browser.
Not covered and delegated to a follow-up PRs:
NumberFormatInfo properties:
CurrencyDecimalDigits (Int)
CurrencyGroupSizes (Int[])
CurrencyNegativePattern (Int)
CurrencyPositivePattern (Int)
NegativeInfinitySymbol (Calendars)
NumberDecimalDigits (Int)
NumberGroupSizes (Int[])
NumberNegativePattern (Int)
PercentDecimalDigits (Int)
PercentGroupSizes (Int[])
PercentNegativePattern (Int)
PercentPositivePattern (Int)
PositiveInfinitySymbol (Calendars)
TextInfo properties:
IsRightToLeft (Int)