diff options
author | smokexyz <sagunkho@hotmail.com> | 2017-06-03 16:39:34 +0800 |
---|---|---|
committer | Smokexyz <sagunkho@hotmail.com> | 2017-07-05 23:00:58 +0530 |
commit | 7a2447204644b53e64a730c9c8428cc5b33f5aa2 (patch) | |
tree | 284e042b6b0bc3f819301fd47281a411f2670a1a /tools/item_merge.lua | |
parent | d2af893049845c4be0710f8939d09ba87485dddc (diff) | |
download | hercules-7a2447204644b53e64a730c9c8428cc5b33f5aa2.tar.gz hercules-7a2447204644b53e64a730c9c8428cc5b33f5aa2.tar.bz2 hercules-7a2447204644b53e64a730c9c8428cc5b33f5aa2.tar.xz hercules-7a2447204644b53e64a730c9c8428cc5b33f5aa2.zip |
Optimisation of char_memitemdata_to_sql()
Implements the storage saving algorithm for inventory, cart and guild storage tables.
Total queries to a table in any call would be no more than 4 per call, replacing the original algorithm that could make a lot more through single update queries per call. This significantly reduces the run time speed for saving/loading of item data from the game server.
Diffstat (limited to 'tools/item_merge.lua')
0 files changed, 0 insertions, 0 deletions