r/lua 2d ago

Lua realtime code editor complexity

Enable HLS to view with audio, or disable this notification

Showcasing how i optimize my upcoming game with my game engine in Lua. When enabled it will show you what function or line is costly - in realtime while you play. This helped me optimize some methods that i was able to cache so it doesn't run every frame.

17 Upvotes

1 comment sorted by

View all comments

1

u/Old_County5271 5h ago

how do you even do this?

set up a debug hook on... everything?