summaryrefslogtreecommitdiff
path: root/example/serverdata/scripts/npcs/merchant.lua
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-01-30 18:35:54 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-01-30 18:36:12 +0100
commitbc291713c56a2bc27ec10cef52dd3a52a0579c7d (patch)
tree4ad966892dedd54ecdbde5e79abb57c6d33f62f1 /example/serverdata/scripts/npcs/merchant.lua
parentc41269058f2e9b2d612099ac97fa7a74a38bd584 (diff)
downloadmanaserv-bc291713c56a2bc27ec10cef52dd3a52a0579c7d.tar.gz
manaserv-bc291713c56a2bc27ec10cef52dd3a52a0579c7d.tar.bz2
manaserv-bc291713c56a2bc27ec10cef52dd3a52a0579c7d.tar.xz
manaserv-bc291713c56a2bc27ec10cef52dd3a52a0579c7d.zip
Fixed some lua_newtable/createtable usage
When creating a Lua table, it is possible to specify in advance how many array elements and how many non-array elements this table will contain, to avoid dynamic reallocations while filling the table. This wasn't used optimally by the pushSTLContainer helper methods and some other cases. Reviewed-by: Erik Schilling Reviewed-by: Yohann Ferreira
Diffstat (limited to 'example/serverdata/scripts/npcs/merchant.lua')
0 files changed, 0 insertions, 0 deletions