style: Quicksort rules to avoid allocation of temporary vectors.

17% improvement in selector matching on the rainbow page.