1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-21 13:09:42 +00:00
openmw/components
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
..
bsa Fix code format 2023-04-18 20:23:03 +02:00
bullethelpers Remove unused includes 2022-10-09 16:44:18 +02:00
compiler Move from std::atoi to std::from_char 2023-03-18 09:30:48 +00:00
config remove remaining boost::filesystem cruft 2023-04-25 16:15:04 +02:00
contentselector Display directories that contains omwscripts. 2023-03-30 21:32:01 +02:00
crashcatcher Maybe fix Windows freeze catcher 2023-03-04 00:28:22 +00:00
debug Move from std::atoi to std::from_char 2023-03-18 09:30:48 +00:00
detournavigator Count navmeshdb reads for each reading job 2023-05-17 10:08:34 +02:00
esm ESM::ExteriorCellIndex => ESM::ExteriorCellLocation 2023-05-12 22:05:55 +02:00
esm3 removed sDefaultWorldspace, only sDefaultWorldspaceId now. 2023-05-12 22:05:53 +02:00
esm3terrain Apply clang-format to code base 2022-09-22 21:35:26 +03:00
esm4 Keep ESM4 localized strings in memory 2023-05-22 22:09:06 +02:00
esmloader Gets rid of most ESM::CellId 2023-04-03 14:16:05 +02:00
fallback Move from std::atoi to std::from_char 2023-03-18 09:30:48 +00:00
files Merge branch 'remove_cruft' into 'master' 2023-04-25 16:06:55 +00:00
fontloader Fix a gcc warning about copy 2023-05-22 17:18:43 +02:00
fx Dehardcode non-game-specific localization GMSTs; Update l10n files. 2023-03-26 13:43:44 +02:00
interpreter Use string_view in more places and reduce the number of empty string literals 2023-05-21 16:39:32 +02:00
l10n Dehardcode non-game-specific localization GMSTs; Update l10n files. 2023-03-26 13:43:44 +02:00
loadinglistener Apply clang-format to code base 2022-09-22 21:35:26 +03:00
lua Expose game object's bounding box in lua api 2023-05-18 11:10:10 -07:00
lua_ui Fix bug in LuaUi::Element::destroy() that sometimes leads to an infinite loop on UI cleanup 2023-05-20 02:34:23 +02:00
misc Increase ESM4 active grid 2023-05-18 00:38:41 +02:00
myguiplatform shade refactor 2023-02-25 11:03:39 -08:00
navmeshtool Stop updating navmeshtool progress on first bad message 2023-01-27 19:10:53 +01:00
nif Drop NIF root node transformation for Skyrim models the same way as for Morrowind models. 2023-05-18 02:10:39 +02:00
nifbullet Unify collision shape transformations 2023-03-10 00:12:12 +03:00
nifosg fix shader compilation 2023-02-26 14:31:53 -08:00
platform Minor header cleanup 2023-04-30 16:26:03 +02:00
process Apply clang-format to code base 2022-09-22 21:35:26 +03:00
resource Use string_view in more places and reduce the number of empty string literals 2023-05-21 16:39:32 +02:00
sceneutil Use settings values for Camera settings 2023-05-20 22:23:09 +02:00
sdlutil Use string_view in more places and reduce the number of empty string literals 2023-05-21 16:39:32 +02:00
serialization Apply clang-format to code base 2022-09-22 21:35:26 +03:00
settings Add settings index to provide lookup by category and name 2023-05-03 22:11:44 +02:00
shader Move from std::atoi to std::from_char 2023-03-18 09:30:48 +00:00
sqlite3 Minor header cleanup 2023-04-30 16:26:03 +02:00
std140 Apply clang-format to code base 2022-09-22 21:35:26 +03:00
stereo Use settings values for Camera settings 2023-05-20 22:23:09 +02:00
terrain Minor header cleanup 2023-04-30 16:26:03 +02:00
to_utf8 Applies review advice. 2023-01-04 12:22:16 +01:00
translation Use string_view in more UI code 2023-05-21 18:14:12 +02:00
version Apply clang-format to code base 2022-09-22 21:35:26 +03:00
vfs fixed some typos and spelling errors 2023-05-09 20:07:08 -04:00
widgets Make FontWrapper conditional 2023-05-21 18:21:42 +02:00
CMakeLists.txt Expose game object's bounding box in lua api 2023-05-18 11:10:10 -07:00
doc.hpp second set of additional doxygen comments 2010-09-25 20:15:05 +02:00
windows.hpp Fix build on Windows 2022-04-25 00:25:46 +02:00