Talk:Lua scripting/Requirements

''Lifted from a discussion on Bot request on enwiki. Emphasis my own:''
 * The massive switch in is extremely expensive to render. It is in many ways better to update the individual articles.


 * Tim Starling has recently commented on this, re: #switch basically being used to implement databases or key/value pairs. There's currently no upper limit on the number of switch cases you can have, but in the future an upper limit of 2000 may be set, so you should be aware of that. The issue when rendering is not the time it takes to parse (it's still very fast), but the amount of memory used, which can sometimes send the servers into swap on larger/more prevalent templates. For this particular template, I'd defer to Wikipedia:Don't worry about performance for the moment.

There's a requirement to think about. Josh Parris (talk) 01:01, 21 February 2012 (UTC)