Re:Learn Big-O and stop hacking your way through algorithms
by cmckn on Thursday August 20, 2020 @07:20PM
(#24230169)
Deciding if your code is a bottleneck is definitely important in deciding how much to worry about asymptotic behavior. But in a lot of cases, it's no more complicated to use a set instead of a list, for example. Totally agree though that benchmarking/profiling is the ultimate decider of what is fast.
[ Parent
| on HN ]
Re:Learn Big-O and stop hacking your way through algorithms
by qppo on Thursday August 20, 2020 @07:32PM
(#24230267)
Sorry if I was unclear, the point I wanted to make was that asymptotic behavior is not something you need to worry about because it's unlikely your program will behave asymptotically.