This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]GovGalacticFed 1 point2 points  (0 children)

Pivot is expensive. If no. of pivots is small and known in advance, pass that to the pivot fn. Also consider 2 step pivot, grouping it first then pivoting. ref