top | item 31609499 (no title) mc4ndr3 | 3 years ago 100x faster: Don't sort. discuss order hn newest janwas|3 years ago Fair :) Sorting is useful in DB joins/group-by, though.(Author here, happy to discuss.) hypertele-Xii|3 years 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|3 years ago No sorting is faster than no sorting.
janwas|3 years ago Fair :) Sorting is useful in DB joins/group-by, though.(Author here, happy to discuss.)
hypertele-Xii|3 years 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.
janwas|3 years ago
(Author here, happy to discuss.)
hypertele-Xii|3 years ago
bradknowles|3 years ago