[go: up one dir, main page]

injector: uses heap instead of queue

What, why, and how

Replace the queue of the injector with an min heap (same as the batcher). This allows to inject operations in order of priority.

The order is the following when injecting: Operations sorted in ascending order, then operation without order sorted by arrival.

Merge request reports

Loading