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 2316 dni, 8 godzin, 11 minut temu KonradKokosa 78 pokaż kod licznika zwiń

Wczytywanie artykułów...