lua table C api
Posted
by anon
on Stack Overflow
See other posts from Stack Overflow
or by anon
Published on 2010-05-09T10:25:40Z
Indexed on
2010/05/09
10:28 UTC
Read the original article
Hit count: 319
I know of: http://lua-users.org/wiki/SimpleLuaApiExample
It shows me how to build up a table (key, value) pair entry by entry.
Suppose instead, I want to build a gigantic table (say something a 1000 entry table, where both key & value are strings), is there a fast way to do this in lua (rather than 4 func calls per entry:
push
key
value
rawset
Thanks!
© Stack Overflow or respective owner