Cell references are loaded multiple times from the content files that affect that cell. Ideally this should be done only once.
In OpenMW
, cell references are loaded using ESM::Cell::getNextRef()
call. This is done in many places including:
MWWorld::Store
MWWorld::CellStore
MWWorld::ESMStore
MWRender::ObjectPaging
MWRender::GroundCover
In comparison, both ESMTool
and OpenCS
calls getNextRef()
from just one code block.
An investigation needs to be done to see if OpenMW
really needs to collect cell references each time. A superficial scan indicates that the cell references are read from the content files for all above classes (i.e. 5 or 6 times per cell) if object paging and ground cover features are enabled - implying additional file accesses and longer loading times.
Edited by cc9cii