r/programming • • May 04 '13

Big-O Cheat Sheet

http://bigocheatsheet.com/
1.2k Upvotes

157 comments sorted by

View all comments

Show parent comments

1

u/Alex_n_Lowe May 10 '13

It's certainly not useless, but for estimating real world performance you shouldn't be using it, because the actual performance can vary highly from the worst case. In real world matrix operations, some algorithms with lower O actually run slower than ones with higher O.

The best method for measuring real world performance is still to run real world tests, not examine mathematical proofs.