aboutsummaryrefslogtreecommitdiff
path: root/testes
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-12-28 15:05:01 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-12-28 15:05:01 -0300
commitabf8b1cd4a798fada026b4046e9dbc08791963f2 (patch)
tree1a1466ff782cee004c83857554612fbfee38fc2e /testes
parent2a307f898be2716638e7ac30d119f7cd9bbbe096 (diff)
downloadlua-abf8b1cd4a798fada026b4046e9dbc08791963f2.tar.gz
lua-abf8b1cd4a798fada026b4046e9dbc08791963f2.tar.bz2
lua-abf8b1cd4a798fada026b4046e9dbc08791963f2.zip
Small optimization in 'luaH_psetshortstr'
Do not optimize only for table updates (key already present). Creation of new short keys in new tables can be quite common in programs that create lots of small tables, for instance with constructors like {x=e1,y=e2}.
Diffstat (limited to 'testes')
0 files changed, 0 insertions, 0 deletions