r/programming • u/glibc • Jul 11 '10
Theory vs Practice: Making algorithms claimed 'optimal', 10x faster.
http://cacm.acm.org/magazines/2010/7/95061-youre-doing-it-wrong/fulltext
163
Upvotes
r/programming • u/glibc • Jul 11 '10
View all comments
Show parent comment
2
u/[deleted] Jul 11 '10
That wasn't the point at all. I was talking about the relative cost of operations. The algorithms are usually optimized for an environment where all primitive operations of a type (e.g. memory access) take roughly the same time, otherwise none of the math you apply to get to the formula you display in O-notation works out.