Interface Dispatcher.IBatchJob
An implementation of a job running in batches. Implementing this as a struct improves performance as the JIT would have an easier time inlining the call. Implementing this as a class would provide more utility as this object would be shared across all threads, allowing for interlocked operations and other communication between threads.
public interface Dispatcher.IBatchJob
- Extension Methods
Methods
Process(int, int)
Execute this job over a range of items
void Process(int start, int endExclusive)