Skip to content

Comment on The demise of the low level programmerparent

Comments

No amount of bit-bashing can fix really poor choices of algorithms (N^2 vs NlogN, say, on a big input).

Its also worth noting that sometimes an algorithm with higher O() complexity could actually perform better. Eg, a brute-force linear search may be faster than a binary search if the elements can be efficiently cache prefetched, or if the entire dataset fits into cache.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.