Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mc4ndr3
· 4y ago · 0 comments
100x faster: Don't sort.
Comments
[–]
janwas
4y ago
Fair :) Sorting is useful in DB joins/group-by, though.
(Author here, happy to discuss.)
[–]
hypertele-Xii
4y 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.
[–]
bradknowles
4y ago
No sorting is faster than no sorting.