1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-12-10 00:34:31 +00:00
openmw/apps/openmw
elsid 358b7ad3ec
Keep ESM4 localized strings in memory
Size of the files is in order of megabytes at max. Storing offset lookup table
to read from file on demand is less efficient than reading from memory for such
size.

Read and store offsets first. Sort them to read values sequentially. Memoize
last offset and value to avoid reading the same value twice. Use seek only when
current possition does not match offset. Optimize seek for short distance by
calling read instead.
2023-05-22 22:09:06 +02:00
..
mwbase Use string_view in more places and reduce the number of empty string literals 2023-05-21 16:39:32 +02:00
mwclass Use string_view in more places and reduce the number of empty string literals 2023-05-21 16:39:32 +02:00
mwdialogue Use string_view in more places and reduce the number of empty string literals 2023-05-21 16:39:32 +02:00
mwgui Use bool instead of std::stringstream::view 2023-05-22 14:32:23 +02:00
mwinput Fix code format 2023-04-18 20:23:03 +02:00
mwlua Use settings values for Camera settings 2023-05-20 22:23:09 +02:00
mwmechanics Set CharacterController::mSmoothedSpeed to zero after teleporting. 2023-05-13 15:26:39 +02:00
mwphysics ESM::ExteriorCellIndex => ESM::ExteriorCellLocation 2023-05-12 22:05:55 +02:00
mwrender Use settings values for Camera settings 2023-05-20 22:23:09 +02:00
mwscript Set CharacterController::mSmoothedSpeed to zero after teleporting. 2023-05-13 15:26:39 +02:00
mwsound Fixed mutex causing crash in openal_output.cpp 2023-05-13 18:12:13 +00:00
mwstate ESM::ExteriorCellIndex => ESM::ExteriorCellLocation 2023-05-12 22:05:55 +02:00
mwworld Keep ESM4 localized strings in memory 2023-05-22 22:09:06 +02:00
android_main.cpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
CMakeLists.txt remove remaining boost::filesystem cruft 2023-04-25 16:15:04 +02:00
doc.hpp
engine.cpp Pass path to startup script as std::filesystem::path 2023-05-06 13:58:39 +02:00
engine.hpp Pass path to startup script as std::filesystem::path 2023-05-06 13:58:39 +02:00
main.cpp Setup logging before loading settings 2023-03-27 09:57:53 +02:00
options.cpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
options.hpp Add tests for openmw options 2021-10-05 22:51:12 +02:00
profile.hpp Profile window manager update 2022-10-06 21:50:31 +02:00