diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-01-25 13:44:49 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-01-25 13:44:49 -0300 |
commit | b34a97a4af5c9e973915c07dba918d95009e0acd (patch) | |
tree | c5fca69c78260918dd950ab4013fc50fccd4090b /lvm.c | |
parent | 3e9dbe143d3338f5f13a5e421ea593adff482da0 (diff) | |
download | lua-b34a97a4af5c9e973915c07dba918d95009e0acd.tar.gz lua-b34a97a4af5c9e973915c07dba918d95009e0acd.tar.bz2 lua-b34a97a4af5c9e973915c07dba918d95009e0acd.zip |
Small optimization in 'luaH_psetint'
It is quite common to write to empty but existing cells in the array
part of a table, so 'luaH_psetint' checks for the common case that
the table doesn't have a newindex metamethod to complete the write.
Diffstat (limited to 'lvm.c')
0 files changed, 0 insertions, 0 deletions