Bart De Smet
|
876ee400a9
Use only var when type is obvious.
|
6 년 전 |
Bart De Smet
|
ce1cc00303
Use ValueTask in a few more places.
|
6 년 전 |
Bart De Smet
|
4e73c9a032
Save some state machine allocations.
|
7 년 전 |
Bart De Smet
|
af6a43d236
Use ValueTask for internal IAsyncPartition interface.
|
7 년 전 |
Bart De Smet
|
aacb761f40
Switch to ValueTask for predicates, selectors, etc. We await those ourselves and they are expected to be called in a high-frequency manner, so this seems to be the right choice. The only drawback is when these operators are used using method group conversion of a Task-returning async method, which is likely rare in query expressions where one typically uses (async) lambdas, and there's a workaround Task-to-ValueTask conversion. We can't overload on ValueTask and Task return types, so this seems the best way forward.
|
7 년 전 |
Bart De Smet
|
3a3c59ba42
Change signature of Clone.
|
7 년 전 |
Bart De Smet
|
906f9c5577
Fix field names.
|
7 년 전 |
Bart De Smet
|
26c9d054e6
Use cancellation token from field.
|
7 년 전 |
Bart De Smet
|
b5a356a745
Remove some unnecessary cancellation token passing.
|
7 년 전 |
Bart De Smet
|
271688e421
Adapting to GetAsyncEnumerator(CancellationToken) interface change.
|
7 년 전 |
Oren Novotny
|
812308825f
Update to use latest interface spec
|
7 년 전 |
Oren Novotny
|
6bbf23237b
TFM updates. ArrayEmpty
|
7 년 전 |
Bart De Smet
|
6f2e856fd2
Adding Async[Enumerable|List]Partition and use it for Skip and Take.
|
8 년 전 |