summaryrefslogtreecommitdiff
path: root/src/game-server/inventory.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-01-09 11:47:16 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-01-09 11:47:16 +0100
commit562b403a66a6a96d883620b27455564d50e3d49b (patch)
tree44b3f37bef0b44999dce6a1a941f6ff94baaa0e5 /src/game-server/inventory.cpp
parent2594084de6e163f15a1516d64cf413de5b0d899f (diff)
downloadmanaserv-562b403a66a6a96d883620b27455564d50e3d49b.tar.gz
manaserv-562b403a66a6a96d883620b27455564d50e3d49b.tar.bz2
manaserv-562b403a66a6a96d883620b27455564d50e3d49b.tar.xz
manaserv-562b403a66a6a96d883620b27455564d50e3d49b.zip
Micro-optimizations for pushing strings to Lua
Use lua_pushliteral and lua_pushlstring instead of lua_pushstring, which avoids Lua having to determine the length of the string.
Diffstat (limited to 'src/game-server/inventory.cpp')
0 files changed, 0 insertions, 0 deletions