Optimize table length computation with hinting.
10x faster on loop with t[#t+1] = x idiom. Also used by table.insert.
This commit is contained in:
@@ -106,6 +106,7 @@
|
||||
_(XLOAD, L , ref, lit) \
|
||||
_(SLOAD, L , lit, lit) \
|
||||
_(VLOAD, L , ref, ___) \
|
||||
_(ALEN, L , ref, ref) \
|
||||
\
|
||||
_(ASTORE, S , ref, ref) \
|
||||
_(HSTORE, S , ref, ref) \
|
||||
|
||||
Reference in New Issue
Block a user