Y
Hacker News
new
|
ask
|
show
|
jobs
by
mc4ndr3
1479 days ago
100x faster: Don't sort.
3 comments
janwas
1479 days ago
Fair :) Sorting is useful in DB joins/group-by, though.
(Author here, happy to discuss.)
link
hypertele-Xii
1479 days ago
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.
link
bradknowles
1478 days ago
No sorting is faster than no sorting.
link
(Author here, happy to discuss.)