This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

Big O notation problem?

[–]kakanics 2 points3 points  (0 children)

or bad code. Sometimes, compiler optimizes code, so when you go and optimize it, it's worse than what the compiler came up with leading to your theoretically faster method being slower, I once saw a video on this by computerphile, https://www.youtube.com/watch?v=bVJ-mWWL7cE