You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The original partial sort function was a combination of a QuickSelect
pass followed by a QuickSort pass. This can lead to unnecessary
comparisons and hence wasted CPU cycles. This update changes the
internal method used by both `avx512_qselect` and `avx512_partial_qsort`
so that they can both leverage the same logic. This is achieved by the
addition of a new parameter that indicates whether the function should
recurse into (and sort) the left partition (i.e. partially sort the
front of the array) or simply recurse into the partition containing the
desired element (i.e. select/position a single element).
0 commit comments