The proper way to reason about performance is to use a profiler, not second guessing what C like code generates.