Table of Contents

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

start int
end int

Fields

End

The exclusive end index of the batch.

public readonly int End

Field Value

int

Start

The inclusive start index of the batch.

public readonly int Start

Field Value

int

Methods

ToString()

Returns a string representation of the batch.

public override string ToString()

Returns

string