ring_index

Function ring_index 

Source
pub fn ring_index(seq: Seq, capacity: u64) -> usize
Expand description

Helper: compute the ring index for a given sequence and power-of-two capacity.

For v1 we primarily use INDEXBUS_QUEUE_CAPACITY, but executors may choose a smaller effective window.