, -O. O (log n), O (n ^ 2), . , , - POV ( ).
, , -. , , , , . , , : " ", :
int myfunc_omega_n_squared(n, args) {
sleep(n*n);
return myfunc(n, args);
}
myfunc, ; -)
, , , (, ), - , , POV , .
, . , , - , . , O (n ^ 2), 100 , O (log n), 100 , , , , 100 , , .
API users want their code to still work, so overall, if you are going to do something much slower, whether it is big-O-slower or not, then it would be better to be a good reason. I would like to release a new interface, and not remove and replace the old one, if possible.