r/ProgrammerHumor • • Oct 13 '26

Meme howProgrammingHasChanged

Post image
673 Upvotes

108 comments sorted by

View all comments

Show parent comment

4

u/ChalkyChalkson Oct 14 '26

Even if we go to exponentiation by squaring, we're still upgrading from O(2n) with the naive recursion to O(log n), which is pretty sweet.