Re:Big O Notation – Explained as easily as possible
by crashocaster on Sunday January 17, 2021 @03:56AM
(#25809265)
For some large n, integers in the algorithm may be so large that operations on them cease to be constant time.
Re:Big O Notation – Explained as easily as possible
by d0mine on Sunday January 17, 2021 @05:55AM
(#25809751)
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?)
How does it change big O? Typically, you implement "bignum" on top of "hardware integer" regardless of the language. Or do you mean that some common integer operations are implemented with suboptimal big O in CPython?