1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 07:45:39 +00:00
openmw/apps/esmtool
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
..
.gitignore Moved esmtool to apps/ 2010-07-21 13:52:28 +02:00
arguments.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
CMakeLists.txt Use target_compile_options to add --coverage 2023-03-10 15:34:08 +01:00
esmtool.cpp Remove strerror usages 2023-01-29 22:41:59 +01:00
labels.cpp Support parent, type and value fields in esmtool for ESM4 2023-01-29 03:02:00 +01:00
labels.hpp Remove AI_CNDT from AI package types 2022-09-13 00:05:12 +02:00
record.cpp Refactor pathgrid indices to use size_t instead of int 2023-04-08 00:32:43 +00:00
record.hpp Support reading and writing typed ESM::RefId to ESM 2023-03-19 17:20:48 +01:00
tes4.cpp Keep ESM4 localized strings in memory 2023-05-22 22:09:06 +02:00
tes4.hpp Support TES4 in esmtool dump 2022-04-25 17:35:26 +02:00