You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the switch to System.Text.Json in #85 we can further improve TimeZoneNames for NativeAOT applications by switching to a source generated TimeZoneData JSON deserializer.
With the switch to
System.Text.Json
in #85 we can further improve TimeZoneNames for NativeAOT applications by switching to a source generatedTimeZoneData
JSON deserializer.Here's a POC on top of https://github.com/mattjohnsonpint/TimeZoneNames/tree/wip
Unfortunately
System.Text.Json
does not (yet) support init only properties, see dotnet/runtime#58770.Here's some stats about the
TimeZoneNames.NativeAot
test application included in the linked POC.main:
File size of TimeZoneNames.NativeAot.exe is 6091 KB
Crashes at runtime with
POC:
File size of TimeZoneNames.NativeAot.exe is 4332 KB
Outputs TimeZone data to console at runtime.
The text was updated successfully, but these errors were encountered: