1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 04:19:55 +00:00
openmw-tes3mp/apps/openmw
scrawl fbee32729a Cache CellId
ESM::Cell::getCellId() was allocating a string on every call. This caused functions dealing with cellIds to be unnecessarily expensive.

For example, World::moveObject spent almost as much time comparing CellIds as it did updating Bullet's AABB after the move. OpGetDistance was by far the most expensive script instruction because it has to compare cellIds.

The total cost of getCellId() relative to the frame loop was about 0.3%.
2015-11-26 23:56:32 +01:00
..
mwbase Remove a really unnecessary method 2015-11-25 04:24:26 -08:00
mwclass Rotations: move doors via Rotation rather than LocalRotation 2015-11-12 00:58:29 +01:00
mwdialogue Update the dialogue topic list after running greeting script 2015-10-18 21:40:16 +02:00
mwgui Fix Show Owned option affecting tooltips that are not objects (Fixes #3036) 2015-11-26 18:23:39 +01:00
mwinput Remove unused setting 2015-11-23 03:26:21 +01:00
mwmechanics Replace Play_NoTrack with playManualSound3D, and rename the latter 2015-11-25 04:24:26 -08:00
mwphysics Use a single-precision PositionAttitudeTransform in speed critical places 2015-11-22 19:54:26 +01:00
mwrender Revert "Merge remote-tracking branch 'sandstranger/opengles'" 2015-11-25 19:22:48 +01:00
mwscript Use a single-precision PositionAttitudeTransform in speed critical places 2015-11-22 19:54:26 +01:00
mwsound Add config options for the sound buffer cache size 2015-11-26 02:13:37 -08:00
mwstate Cache CellId 2015-11-26 23:56:32 +01:00
mwworld Remove a really unnecessary method 2015-11-25 04:24:26 -08:00
android_commandLine.cpp Fix tab indentations in apps/ and components/ 2015-09-16 20:45:37 +02:00
android_commandLine.h Remove empty line at the beginning of files 2015-08-18 23:06:12 +02:00
android_main.c Revert "Merge remote-tracking branch 'sandstranger/opengles'" 2015-11-25 19:22:48 +01:00
CMakeLists.txt Revert "Merge remote-tracking branch 'sandstranger/opengles'" 2015-11-25 19:22:48 +01:00
crashcatcher.cpp Fix tab indentations in apps/ and components/ 2015-09-16 20:45:37 +02:00
doc.hpp doc.hpp fix 2015-06-04 01:30:16 +02:00
engine.cpp Improve path conversions 2015-11-26 17:15:28 +01:00
engine.hpp Refactor: InputManager no longer depends on Engine 2015-11-14 03:01:24 +01:00
main.cpp Revert "Merge remote-tracking branch 'sandstranger/opengles'" 2015-11-25 19:22:48 +01:00