logoalt Hacker News

dparktoday at 5:09 AM0 repliesview on HN

Depends on what you mean.

Assuming you write code that does not take advantage of undefined behavior, then in general you would expect the correctness of your program to be consistent. But you would not expect the performance, for example, to be consistent. An optimizing JIT compiler might certainly run the 3rd invocation of code path way faster than the first.