vMenu
vMenu copied to clipboard
Improve performance of Location Display (PLD)
trafficstars
Improves CPU timings when turning on the PLD in Misc Settings.
I moved many of the CPU-intensive tasks (like World.GetStreetName(currentPos) and World.GetZoneLocalizedName(currentPos)) to the 200ms loop instead of being called every tick. This drastically improves the performance while having the PLD on, I noticed timings going from 0.9ms to 0.6ms (on foot and menu closed).
The warning that it takes up a large part of your CPU is still on the menu button, but it can be removed if you think that the issue is fixed!