top | item 25809265

(no title)

crashocaster | 5 years ago

For some large n, integers in the algorithm may be so large that operations on them cease to be constant time.

discuss

order

d0mine|5 years ago

that is obvious. But how does it change big O? (why any manual implementation would have a better big O compared to existing arithmetics implementation in CPython?)

kaba0|5 years ago

I think he meant that naively implementing an algorithm may not be bounded by the O notation he/she originally wanted due to code calling other functions “hidden” from the programmer.