Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
sclangdon
9y ago
0 comments
Save
Share
STL does use hybrid sorting. It is usually implemented as an introsort, which begins with a quicksort and switches to heapsort based on the number of elements to be sorted.
0 comments
2 comments · 1 top-level
top
newest
oldest
imaginenore
9y ago
· 1 in thread
Sorry if that wasn't clear. I'm asking why don't they switch to the hybrid sort similar to Boost's, since it's known to be faster for most cases?
sanxiyn
9y ago
They probably should. After all Boost is often a staging area for C++ standard library.
j
/
k
navigate · click thread line to collapse