Skip to content
loading...

re: What's the big deal with IAsyncEnumerable<T> in .NET Core 3.0? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Is there any way that u can show with stopwatch or with memory consumption matching, showing old vs new way is much efficient?
 

I don't think it will be more efficient in that sense - it blocks less threads so your server can scale better (await more IO bound operations like the DB calls here)

If you use this for algorithms (CPU bound operations) the runtime will probably be worse (there surely is even more overhead than the one produced by async/awaits state machines)

code of conduct - report abuse