Thread: minified LUA
View Single Post
05/27/14, 12:02 PM   #12
lyravega
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 93
At least you can work with UI mate, I am a noob when it comes to UI stuff... if this was Torchlight II however, I'd be able to make UI-origami if the words fit to each other right!

Back to the topic, if you are (were) mainly using minify for performance gains, I don't think this game/API would benefit from it that much. General rules of LUA apply though; like locals being accessed faster than globals (even a simple local next = next improves just a tad), it is best to avoid nested if-checks if possible, etc... general programming stuff if you think about it, not just LUA.

As ingeniousclown said, if anyone tries to copy your stuff over here, moderators seem to be very responsive and helpful. I'm glad that you decided to ignore minify for the future, I'm very curious to see the code as a "whole", like you, I best learn with examples and I think I will learn quite a bit from your work
  Reply With Quote