-
Notifications
You must be signed in to change notification settings - Fork 741
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
Microsoft.Extensions.AsyncState readme suggestions #4611
Comments
@geeknoid I can update the readme, but who knows the actual answers to these questions? |
@Tratcher Unfortunately, the few guys we had working on this stuff left the company a while ago. I think @davidfowl and @tekian likely know what's what. |
Internally, there's also some R9 docs here: https://eng.ms/docs/experiences-devices/r9-sdk/docs/http-processing/asynchronous-state |
Also, when there is a large number of async values linked to the same ExecutionContext, reading them may be faster via this library than if there were a separate AsyncLocal<T> instance for each, because the library can use the precomputed AsyncStateToken.Index as an array index, instead of ManyElementAsyncLocalValueMap being based on Dictionary<IAsyncLocal, object?> and having to compute the hash bucket index and check for hash collisions…? This library might involve more virtual method calls though, so I don't know which one is actually faster. |
It might be best to recategorise this library from stable to experimental until you get someone familiar with it so that it can be supported. |
Suggestions for things that could be added to src/Libraries/Microsoft.Extensions.AsyncState/README.md:
The text was updated successfully, but these errors were encountered: