-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
P2Priority of the issue for triage purpose: Needs to be fixed at some point.Priority of the issue for triage purpose: Needs to be fixed at some point.good first issueGood for newcomersGood for newcomersup-for-grabsA good issue to fix if you are trying to contribute to the projectA good issue to fix if you are trying to contribute to the project
Description
There are 2 places we are using BufferBlock<T>
today:
machinelearning/src/Microsoft.ML.Data/Transforms/RowShufflingTransformer.cs
Lines 486 to 487 in b7db4fa
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:
Metadata
Metadata
Assignees
Labels
P2Priority of the issue for triage purpose: Needs to be fixed at some point.Priority of the issue for triage purpose: Needs to be fixed at some point.good first issueGood for newcomersGood for newcomersup-for-grabsA good issue to fix if you are trying to contribute to the projectA good issue to fix if you are trying to contribute to the project