Loading page…
Kestrel Stream must list every distinct group of three tracks that fills a twelve-minute block. Checking every group takes about 45 seconds at 3,000 tracks. Sorting a copy, fixing the first value and running the opposite-ends pair search on the rest makes it order n squared. Skipping repeated first values and equal values after a match keeps each block once.
Kestrel Stream builds mixes.