News for hackers. Stuff that matters.
Re:Fastest table sort in the West – Redesigning DuckDB's sort by b9a2cab5 on Friday August 27, 2021 @05:50PM (#28333342)
The way I read it was that with many columns the overhead of the compare function (even if it's inlined) is too high compared to sorting overhead.
Re:Fastest table sort in the West – Redesigning DuckDB's sort by lnkuiper on Friday August 27, 2021 @06:32PM (#28333659)
Exactly. Even when it’s inlined, having a comparator with if/else is much, much slower than a single memcmp