-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libs][Unix][perf] Lazily initialize TimeZoneInfo names and order Get…
…SystemTimeZones by Ids (#88368) * [libs] Remove unnecessary assignment TZifHead * [libs][perf] Add lazy initialization for TimeZoneInfo names * Reduce comparisons for UTC alias and remove static array allocation * [libs] Lazy init display names for utc aliases * [libs][perf] Order system time zones by id * Directly compare numerical value * Fix internal field naming * Remove TryPopulateTimeZoneDisplayNamesFromGlobalizationData * Make lazy initialization methods static on windows * Revert "[libs][perf] Order system time zones by id" This reverts commit 580a765. * Fix lazy initialization for Minimal Globalization Data * Avoid lazy initialization where internal display name fields are set to null * Fix CreateLocal not preserving lazy initialized names * Prevent unintended lazy initialization in CreateCustomTimeZone * Make UICulture a property * Substitute null name properties with empty string in default constructor * Assert not reached in Invariant mode
- Loading branch information
Showing
5 changed files
with
185 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.