Project-Epoch / TrinityCore

TrinityCore Open Source MMO Framework (master = 8.3.7.35662, 3.3.5 = 3.3.5a.12340)
http://www.trinitycore.org
GNU General Public License v2.0
4 stars 7 forks source link

Cached Random Movement Paths #55

Open kaytotes opened 1 month ago

kaytotes commented 1 month ago

See AzerothCore. Basically a cpu optimisation at the cost of ram. Ram is cheap. Toggleable in config.

#
#     DontCacheRandomMovementPaths
#        Description: Random movement paths (calculated using MoveMaps) can be cached to save cpu time,
#                     but this may use up considerable amount of memory and can be prevented by setting this option to 1.
#                     Recommended setting for populated servers is having enough RAM and setting this to 0.
#        Default:     0 - (cache paths, uses more memory)
#                     1 - (don't cache, uses more cpu)

DontCacheRandomMovementPaths = 0