Struct Parallel.Batch
- Namespace
- Jitter2.Parallelization
- Assembly
- Jitter2.dll
Represents a batch defined by a start index, an end index, and a batch index. This struct is utilized in ForBatch(int, int, int, Action<Batch>, bool) to facilitate multithreaded batch processing within a for-loop.
public readonly struct Parallel.Batch
- Inherited Members
Constructors
Batch(int, int)
Represents a batch defined by a start index, an end index, and a batch index. This struct is utilized in ForBatch(int, int, int, Action<Batch>, bool) to facilitate multithreaded batch processing within a for-loop.
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()