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
提案ドキュメント見ての通り、需要としては「メソッドごとに Pool を変えたい」みたいなやつ。
Task (長期生存が確定してるヒープアロケーションが必須) みたいなやつは GC には不向きだし、かといって global pool はすぐにパフォーマンスが悪化する(同じ Pool から大量のインスタンスを Rent したらすぐに gen 2 GC よりもパフォーマンスが落ちる)という問題があり。
https://github.com/dotnet/csharplang/blob/main/proposals/csharp-10.0/async-method-builders.md
提案ドキュメント見ての通り、需要としては「メソッドごとに Pool を変えたい」みたいなやつ。
Task (長期生存が確定してるヒープアロケーションが必須) みたいなやつは GC には不向きだし、かといって global pool はすぐにパフォーマンスが悪化する(同じ Pool から大量のインスタンスを Rent したらすぐに gen 2 GC よりもパフォーマンスが落ちる)という問題があり。
https://ufcpp.net/study/csharp/sp5_awaitable.html とかにセクション追加?
https://ufcpp.net/study/csharp/sp5_async.html#task-like の辺り?
The text was updated successfully, but these errors were encountered: