Y
Hacker News
new
|
ask
|
show
|
jobs
by
charcircuit
945 days ago
Big O notation is often used with assumptions like adding numbers is always constant time. You can't physically build a machine where addition between any two numbers is constant time, but that doesn't matter.
1 comments
xvedejas
945 days ago
It depends what you mean by "numbers": all integers or just 64-bit ones?
link
charcircuit
945 days ago
My point is relevant to additions that are the same type as n as n has no upper bound. n will never be a 64 bit integer.
link