Re:10x Faster sort than C++ std:sort
by mc4ndr3 on Friday June 03, 2022 @11:19AM
(#31609499)
100x faster: Don't sort.
[ Parent
| on HN ]
Fair :) Sorting is useful in DB joins/group-by, though.
(Author here, happy to discuss.)
Re:10x Faster sort than C++ std:sort
by hypertele-Xii on Friday June 03, 2022 @06:50PM
(#31614701)
At first glance seems like a snarky dismissal, but this is actually valid, actionable advice. If you can arrange your data flow in such a way that sorting is unnecessary, you've avoided an expensive optimization problem altogether.
Re:10x Faster sort than C++ std:sort
by bradknowles on Saturday June 04, 2022 @05:04PM
(#31625047)
No sorting is faster than no sorting.