Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
envp
· 4y ago · 0 comments
But what if one of the arguments is a function call? Then it isn't easy to prove there are no side effects
Comments
[–]
chrisseaton
4y ago
If it’s too big to in-line then yes.
[–]
vlovich123
4y ago
That’s says absolutely nothing about whether the function has a side effect.
[–]
chrisseaton
4y ago
If you can inline it into the compilation unit, then you can see if it has side effects or not.