4 ms·
Why do people who like to ask O(N) questions have this obsession with sorting algorithms?
by GlennS 14y ago
Why do people who like to ask O(N) questions have this obsession with sorting algorithms?
- cperciva 14y agoBecause in the 1960s, sorting records was what computers spent most of their time doing. At this point, it's mostly a "because that's how we've always introduced algorithms and complexity" thing.
- sukuriant 14y agoIt's still what computers often spend a lot of time doing. What do you think your database engine is doing most of the time? Those indexed columns aren't just there to smile warmly upon your data.