phy1um / ps2-homebrew-livestreams

Repo for code written during my Playstation 2 Homebrew livestreams
MIT License
47 stars 6 forks source link

Lua Lists Have Slow Random Removal #48

Closed phy1um closed 2 years ago

phy1um commented 2 years ago

Calling table.remove on Lua lists (which are backed by Lua tables) is slow. For entity lists and other things a game may have where items can be added and removed often a better abstraction is needed.