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 217 dni, 19 godzin, 16 minut temu KonradKokosa 74 pokaż kod licznika zwiń

Wczytywanie artykułów...