Roberto Ierusalimschy
|
257961c601
OP_SELF can use 'luaV_fastget' specialized for strings, as it
|
9 years ago |
Roberto Ierusalimschy
|
8004ab756f
hook test in 'luaV_execute' reduced to minimum (rest done in
|
9 years ago |
Roberto Ierusalimschy
|
f7670781cf
cleaner definition for 'luaC_condGC', using 'pre'/'pos' parameters
|
9 years ago |
Roberto Ierusalimschy
|
df8b996bcc
'Protect' in table operations is not needed in the fast track
|
9 years ago |
Roberto Ierusalimschy
|
ee5edb6b68
macros 'getaddrstr' and 'getstr' unified (they do the same thing)
|
10 years ago |
Roberto Ierusalimschy
|
b91bc93fd3
'setobj2t' incorporated into 'luaV_fastset' + 'invalidateTMcache'
|
10 years ago |
Roberto Ierusalimschy
|
41964648ee
long strings are created directly in final position when possible
|
10 years ago |
Roberto Ierusalimschy
|
8f25d08637
'invalidateTMcache' not needed in all 'settable' uses
|
10 years ago |
Roberto Ierusalimschy
|
3b795541c4
fast track for 'settable'
|
10 years ago |
Roberto Ierusalimschy
|
e247c3ada3
implementation of fast track for gettable operations
|
10 years ago |
Roberto Ierusalimschy
|
319ccfefbc
computations in numerical for loop must avoid overflows too
|
10 years ago |
Roberto Ierusalimschy
|
f01c12c891
detail (cast to avoid mixing types in conditional expression)
|
10 years ago |
Roberto Ierusalimschy
|
a1415c0d72
bug in order NaN x int (tests must ensure that NaN does not get
|
10 years ago |
Roberto Ierusalimschy
|
ed1fe28bb8
When comparing integers with floats, use float as common type when
|
10 years ago |
Roberto Ierusalimschy
|
d39bb51faa
bug: interpreter cannot pop activation frame before calling return
|
10 years ago |
Roberto Ierusalimschy
|
6dc20ff293
'l <= r' for numbers has its own function, instead of using
|
10 years ago |
Roberto Ierusalimschy
|
0ec12c1bd1
new semantics for numerical order (following math regardless
|
10 years ago |
Roberto Ierusalimschy
|
04ba6ea83b
new semantics for equality int-float
|
10 years ago |
Roberto Ierusalimschy
|
ae76c39712
Bug: suspended '__le' metamethod can give wrong result
|
10 years ago |
Roberto Ierusalimschy
|
abb2f5511d
detail ('b + base' -> 'base + b' to follow all other similar uses)
|
10 years ago |
Roberto Ierusalimschy
|
4ba0cb4580
always use macros to operate on lua_Numbers
|
10 years ago |
Roberto Ierusalimschy
|
6408bc0b7f
new macros 'chgfltvalue'/'chgivalue' (numerical for loop does
|
10 years ago |
Roberto Ierusalimschy
|
81245b1ad5
'numisinteger' (for table keys) replaced by 'luaV_tointeger' (old
|
10 years ago |
Roberto Ierusalimschy
|
c8d6cb0136
macros 'luai_num*' (for float arithmetic operations) moved to
|
10 years ago |
Roberto Ierusalimschy
|
7e2015a46d
size of short strings stored in a single byte, to reduce the size
|
10 years ago |
Roberto Ierusalimschy
|
50e2eb8954
change in macro 'vmcase', avoding code inside it. (Code inside the
|
10 years ago |
Roberto Ierusalimschy
|
2b83711fba
new macro 'nvalue' (to convert an object to a float when we know
|
10 years ago |
Roberto Ierusalimschy
|
049cf14cf9
'x//y' extended to floats + more comments about module and floor
|
10 years ago |
Roberto Ierusalimschy
|
5d628519d3
simpler definition for 'luaV_tonumber_'
|
10 years ago |
Roberto Ierusalimschy
|
bde14c3adc
macro to change method of conversion from float to integer (make it
|
10 years ago |