Async programming becomes more and more popular. While being very convenient in use, from performance perspective there are scenarios where regular Task-returning async methods have one serious drawback: they need to allocate a new Task to represent the operation (and its result).

Tagi: async/await, C#, gc
Dziel się z innymi:
Implementing custom IValueTaskSource – async without allocations – TooSlowException

Inne 91 dni, 12 godzin, 23 minuty temu KonradKokosa 73 pokaż kod licznika zwiń

Wczytywanie artykułów...