Replies: 1 comment 4 replies
-
|
it seems module append to global index table. luajit |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When the
name_servicemodule is added to Lua on #192 some tests are failing:The gas difference only happens for the above 2 cases
The additional 4608 gas happens on a a single call to
lua_gasuse.I used this code on
lj_gas.c/lua_gasuse()to break on the debugger when gas is 4608:The call stack is this:
It appears that the
lj_tab_newkeyis making the hash table to be re-hashed (rehashtab)We need to discover if this is a bug or just an expected consequence of having an additional record on
_LOADEDtableBeta Was this translation helpful? Give feedback.
All reactions