WoW:Lua object memory sizes: Difference between revisions

mNo edit summary
Line 74: Line 74:
   end
   end
  end
  end
== Quiz! ==
To motivate programmers, here follows a number of statements. Only one is correct. If you choose the right one, you will be shown boobies ([[wikipedia:NSFW|NSFW]]).
* [http://www.disney.com/ It is better to have lots of named keys in a table rather than create a sub-table with integer indices]
* [http://www.ratemyboobies.com/ It usually uses less CPU power to let the incremental GC handle tables compared to recycling them]
* [http://www.disney.com/ It is always better to use lots of upvalues to a function closure because locals don't use any memory]
[[Category:UI technical details]]
Anonymous user