diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-01-12 15:50:51 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-01-12 15:50:51 -0300 |
commit | d862da6d04111ce7e5b225040fbe7e526761f478 (patch) | |
tree | 5fec8b142e05a5e5c97d61161ad7053fb86a3cdb /lgc.c | |
parent | 7827c40c49d841daca2a40463b8a60f9a113f77e (diff) | |
download | lua-d862da6d04111ce7e5b225040fbe7e526761f478.tar.gz lua-d862da6d04111ce7e5b225040fbe7e526761f478.tar.bz2 lua-d862da6d04111ce7e5b225040fbe7e526761f478.zip |
Optimizations for 'lua_rawgeti' and 'lua_rawseti'
'lua_rawgeti' now uses "fast track"; 'lua_rawseti' still calls
'luaH_setint', but the latter was recoded to avoid extra overhead
when writing to the array part after 'alimit'.
Diffstat (limited to 'lgc.c')
0 files changed, 0 insertions, 0 deletions