Glossary: System Design Beyond the Basics in C++
std::partial_sort
Also written: partial_sort
A C++ function that puts only the first few places in order and leaves the rest unsorted. The feed uses it to rank 20 posts without sorting thousands.
Glossary: System Design Beyond the Basics in C++
Also written: partial_sort
A C++ function that puts only the first few places in order and leaves the rest unsorted. The feed uses it to rank 20 posts without sorting thousands.