[DiscordArchive] someone knows a faster way of copying tables between lua states than a deepcopy?
[DiscordArchive] someone knows a faster way of copying tables between lua states than a deepcopy?
Archived author: robinsch • Posted: 2022-09-06T17:49:51.834000+00:00
Original source
someone knows a faster way of copying tables between lua states than a deepcopy?
Archived author: <o> • Posted: 2022-09-06T17:55:23.039000+00:00
Original source
don't think there is one, and shared state should really not be stored in lua if you can help it. if you don't do too many insertions, maybe wrap an external store in userdata
Archived author: robinsch • Posted: 2022-09-06T17:56:32.749000+00:00
Original source
it needs to be accessed by interface code, so I somehow need to store it in LUA.