Avoid allocation of small arrays in median, extrema, etc

There is also approximate median algorithm, which is promised to be effective: An Efficient Algorithm for the Approximate Median Selection Problem | SpringerLink

2 Likes