measure the perf impact of deduplicating IsCompleted call in GetConsumingEnumerable...
authorBadre BSAILA <54767641+pedrobsaila@users.noreply.github.com>
Tue, 10 Jan 2023 11:15:38 +0000 (12:15 +0100)
committerGitHub <noreply@github.com>
Tue, 10 Jan 2023 11:15:38 +0000 (12:15 +0100)
commit9d059dacec50a0472558d4b7b21a20cf4fb0543c
treeb1c076a757b43b8d22e3b20a05de76b896d4c342
parente9a526ce586e535f7e65209be56601c13915caa5
measure the perf impact of deduplicating IsCompleted call in GetConsumingEnumerable (#78887)

* measure the perf impact of deduplicating IsCompleted call in GetConsumingEnumerable

* simplify the while condition

Co-authored-by: Krzysztof Wicher <mordotymoja@gmail.com>
Co-authored-by: Krzysztof Wicher <mordotymoja@gmail.com>
src/libraries/System.Collections.Concurrent/src/System/Collections/Concurrent/BlockingCollection.cs