Board Thread:Support Requests - Getting Technical/@comment-4189499-20150223091515/@comment-2093602-20150223112545

It would probably benefit greatly from Lua, yeah. A  adds 2 to the node count for every condition check.

Looking through your template, it seems there are 2 types of levels, normal and dreamworld. How common is it for there to be levels of both kinds on 1 page? If its not common at all, it would be better to put them both in separate modules. Otherwise they can all be put in 1 bigger module. In either case, we'll need 1 more smaller module that does the actual lookup from the data stored in those bigger modules.

In order to save memory, I would also suggest abbreviating the difficulties if you and your editors are fine with it. Eg. "Very Easy" would be "ve", Easy is "e", and so on. Of course the template would return the full names (or, if you want, the related color) nvm about this, Lua saves strings as hash anyway, so it would save a few microseconds in parsing time only.