There are 2 places we are using BufferBlock<T> today:
|
private readonly BufferBlock<int> _toProduce; |
|
private readonly BufferBlock<int> _toConsume; |
|
private readonly BufferBlock<ParameterSetWithId> _paramQueue; |
We should consider replacing this dependency with https://www.nuget.org/packages/System.Threading.Channels/ instead. Channels are a bit simpler, and more performant than BufferBlock.
See:
There are 2 places we are using
BufferBlock<T>today:machinelearning/src/Microsoft.ML.Data/Transforms/RowShufflingTransformer.cs
Lines 486 to 487 in b7db4fa
machinelearning/src/Microsoft.ML.Sweeper/AsyncSweeper.cs
Line 171 in b7db4fa
We should consider replacing this dependency with https://www.nuget.org/packages/System.Threading.Channels/ instead. Channels are a bit simpler, and more performant than BufferBlock.
See: