Hacker News new | ask | show | jobs
by inkysigma 31 days ago
I’ve seen quite a few critiques of the practicality of time complexity analysis but I’ve never seen an article describe what we should replace it with. Time complexity analysis, as given, has given some structure to the infinite zoo of problems even if imperfect and composes relatively nicely and is relatively simple. It’s also tractable, has mathematical structure, and is often practical as a heuristic (the kinds of algorithms people typically encounter or come up are typically reasonable under this kind of analysis). In order to be a proper substitute, something would have to satisfy all these qualities. Without such a substitute, we are back to analyzing problems and their complexity without any sort of framework which seems even worse than just remembering that sometimes the big O is not practical.

The only candidate that would be more practical that I know of is cache complexity for cache oblivious algorithms but that’s much more complicated.

3 comments

> I’ve seen quite a few critiques of the practicality of time complexity analysis but I’ve never seen an article describe what we should replace it with.

The correct notion of "efficient" being not precisely defined is not a reason or excuse to narrowly focus on a precise but incorrect definition of efficiency. The property of being correct is more important than the property of being precisely defined.

Satisfying a precise definition is only useful and interesting insofar it clarifies the underlying notion of efficiency, and in cases where it doesn't (as in "galactic" algorithms) satisfying the precise definition doesn't bestow interestingness on the algorithm.

Implicit Computational Complexity deserves to be more well known.
Why? I'm not being glib here, but I don't see what it really changes fundamentally that makes it noteworthy except as a curiosity.
> In order to be a proper substitute, something would have to satisfy all these qualities.

Why?