Struct Parallel.Batch
- Namespace
- Jitter2.Parallelization
- Assembly
- Jitter2.dll
Represents a half-open index range processed by a parallel batch. This struct is used by ForBatch(int, int, int, Action<Batch>, bool) to split a for-loop into worker tasks.
public readonly struct Parallel.Batch
- Inherited Members
Constructors
Batch(int, int)
Represents a half-open index range processed by a parallel batch. This struct is used by ForBatch(int, int, int, Action<Batch>, bool) to split a for-loop into worker tasks.
public Batch(int start, int end)
Parameters
Fields
End
The exclusive end index of the batch.
public readonly int End
Field Value
Start
The inclusive start index of the batch.
public readonly int Start
Field Value
Methods
ToString()
Returns a string representation of the batch.
public override string ToString()