forked from mirror/openmw-tes3mp
783594033a
Use pointers as map keys instead of string IDs. Resolves a nasty performance bottleneck on functions like hasCommonDisease() that previously had to look up all contained spells from the ESM store on every call. hasCommonDisease() is called hundreds of times per frame by the AI target update since it's used to calculate target disposition. The total cost of hasCommonDisease() was 2.7% of the frame loop, now it's negligible. |
||
---|---|---|
.. | ||
mwbase | ||
mwclass | ||
mwdialogue | ||
mwgui | ||
mwinput | ||
mwmechanics | ||
mwphysics | ||
mwrender | ||
mwscript | ||
mwsound | ||
mwstate | ||
mwworld | ||
android_commandLine.cpp | ||
android_commandLine.h | ||
android_main.c | ||
CMakeLists.txt | ||
crashcatcher.cpp | ||
doc.hpp | ||
engine.cpp | ||
engine.hpp | ||
main.cpp |