Lua-Collections Array List

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
Skeletonxf
Citizen
Posts: 87
Joined: Tue Dec 30, 2014 6:07 pm

Lua-Collections Array List

Post by Skeletonxf »

I've implemented most of an array list backed by a lua table and have started using Love2d's LuaJIT FFI to make a similar system using a struct, hopefully these are useful to people :)

For once I actually ran profilers and made sure that what I wrote was running efficiently. I think this ArrayList implementation might be unique in that it doesn't try to hide the items from you, and you can easily fall back to pure lua code use of the table with very few surprises if you need even more performance.

https://github.com/Skeletonxf/Lua-Colle ... ree/master
Post Reply

Who is online

Users browsing this forum: No registered users and 42 guests