Hacker News new | ask | show | jobs
by nwlieb 1397 days ago
Is `(x - 1)` not a runtime cost if `x` is a runtime variable?
1 comments

Not on many instruction architectures - addressing modes often support adding/subtracting a constant.