Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
b9a2cab5
· 5y ago · 0 comments
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.
Comments
[–]
lnkuiper
5y ago
Exactly. Even when it’s inlined, having a comparator with if/else is much, much slower than a single memcmp