diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-03-21 16:01:55 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-03-21 16:01:55 -0300 |
commit | 682054920ddc434fd4a7f8cc78027dbb03f47f00 (patch) | |
tree | c1f57903f57c9e13a338b09f2c625020aac31e7b /ltm.h | |
parent | f53eabeed855081fa38e9af5cf7c977915f5213f (diff) | |
download | lua-682054920ddc434fd4a7f8cc78027dbb03f47f00.tar.gz lua-682054920ddc434fd4a7f8cc78027dbb03f47f00.tar.bz2 lua-682054920ddc434fd4a7f8cc78027dbb03f47f00.zip |
Details in the implementation of the integer 'for' loop
Changed some implementation details; in particular, it is back using
an internal variable to keep the index, with the control variable
being only a copy of that internal variable. (The direct use of
the control variable demands a check of its type for each access,
which offsets the gains from the use of a single variable.)
Diffstat (limited to 'ltm.h')
0 files changed, 0 insertions, 0 deletions