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 2303 dni, 18 godzin, 22 minuty temu KonradKokosa 78 pokaż kod licznika zwiń

Wczytywanie artykułów...