Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nwlieb
· 4y ago · 0 comments
Is `(x - 1)` not a runtime cost if `x` is a runtime variable?
Comments
[–]
vikingerik
4y ago
Not on many instruction architectures - addressing modes often support adding/subtracting a constant.