Hacker News new | ask | show | jobs
by benstrumental 1482 days ago
Do you expect these optimizations making their way into std::sort eventually?
1 comments

It depends on the goals of the library maintainers. Users who really care about speed may already be using another library such as PDQsort or ips4o. Given that, the stdlib maintainers may reason that adding code and 'complexity' (not all developers understand or are able to maintain SIMD) is not worthwhile.

Conversely, they may prefer to work towards the standard library being the fastest known way of doing things. This is now much more feasible given the single portable implementation, vs. having to rewrite thousands of lines for six instruction sets.

Not sure which consideration carries more weight.