>Please note that O matters. Even if both algorithms belong to O(n log n) class, algorithm for which O=1 is 100 times faster then algorithm for which O=100.
Wait, what? O = 100? That's just... not how it works.
Wait, what? O = 100? That's just... not how it works.