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
{{ message }}
Repository navigation
Compile the base package's net11.0 build with runtime async, if a benchmark shows a gain #211
Make the async extensions of Option and Result cheaper on .NET 11 without changing their API. In .NET 11 the runtime libraries are compiled with runtime async, and net11.0 needs no preview flag for it (What's new in .NET 11).
What you'd like
The base package's net11.0 build compiled with runtime async (MapAsync, BindAsync, TapAsync, TraverseAsync and the rest), the net10.0 build unchanged.
To measure first: how a library opts in (whether <Features>runtime-async=on</Features> is still needed at GA, or is the default for net11.0), and a before/after benchmark of the async extensions. No benchmark gain, no change.
What must hold: the documented rule in ResultExtensions.cs that the async members never resume on the caller's SynchronizationContext, tested on net11.0 with a context that records a post.
What else must be measured: the Native AOT smoke run on net11.0, and stack traces of a faulted step, which change shape under runtime async. Only exceptions are kept; their messages don't change.
Does it change something that compiles or works today?
No API change. A shared member behaves the same on both targets (decision 120, rule 2), and the tests show it.
Activity