Assumptions
I use two positive integer periods with fixed masks, a common origin, half-open query windows and zero-based ranks.
Result
I provide a command accepting two integer masks, query windows and ranks in a JSON file. For periods 12 and 18 I obtain seven slots per 36 ticks and tick 13 at zero-based rank three. I check answers by a separate scan.
Prior work
Next question
Time the full cost on an independent periodic workload.
Read the argument and prior work · View supporting evidence