Bart De Smet
|
0980e87430
Avoiding heap-allocated closures
|
пре 6 година |
Bart De Smet
|
15fb36bba0
Simplify code using local functions
|
пре 6 година |
Bart De Smet
|
369026d24e
Taming CancellationToken overload hell
|
пре 6 година |
Oren Novotny
|
b9f9514d57
Revert "Use only var when type is obvious."
|
пре 6 година |
Bart De Smet
|
876ee400a9
Use only var when type is obvious.
|
пре 6 година |
Bart De Smet
|
d596d9f6d8
Adding "deep cancellation" API surface predicated by a NO_DEEP_CANCELLATION symbol.
|
пре 7 година |
Bart De Smet
|
8be4811163
Moving to Async naming convention.
|
пре 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
|
cfd11d1c62
Adding BCL style exception factories.
|
пре 7 година |
Bart De Smet
|
ff4deee27c
Inline LongCount.
|
пре 7 година |
Bart De Smet
|
a6e71784ca
Cleaning up Count and LongCount.
|
пре 7 година |
Bart De Smet
|
206c7f2f1f
Splitting Count and LongCount.
|
пре 8 година |