4 ms·
You are right. This code runs just fine on both of these online Lua websites. local tab = {} tab[938388893] = "hi" tab[987383332] = "Hello" for k,v in pairs(ta
by maxdemarzi 4y ago
You are right. This code runs just fine on both of these online Lua websites.
local tab = {}
tab[938388893] = "hi"
tab[987383332] = "Hello"
for k,v in pairs(tab) do
print(k)
print (v)
end
https://www.lua.org/cgi-bin/demo https://www.lua.org/cgi-bin/demo
https://luajit.me/ https://luajit.me/
But when I try it using the Sol library (embedded in C++) it eats all my memory.
Is it a Sol issue or a C Lua binding issue? Anybody know?
- tkhattra 4y agosorry, i'm not familiar with Sol. might be worth inquiring on the lua mailing list