DEV Community

Discussion on: What is Big O Notation?

 
aleksandrhovhannisyan profile image
Aleksandr Hovhannisyan

In other words compare instruction is O(1) regardless of how many are being chained.

Exactly, unless they're doing something with the input data that would scale with the input size.

Thread Thread
 
artoodeeto profile image
aRtoo

gotcha. much love sir. thanks.