Looking for advices on how to structure my project and optimize performances

This will give a very significant performance boost!

I’m also curious to learn why you are calling tonumber() on every value? What is in that lua_tileset_table? Why can’t you convert to numbers once and outside of that inner loop?

3 Likes