foamyesque Posted August 22, 2017 Share Posted August 22, 2017 (edited) Shared arrays are fast because the are implemented as shared memory with absolutely no locking mechanism. By contrast every object in the game (including GlobalVariable objects) are designed to be thread-safe with a robust locking scheme. I know. The problem is that other means of sharing data between n parallel script objects have a lot of overhead in the form of function calls. Edited August 22, 2017 by foamyesque Link to comment Share on other sites More sharing options...
FlyBy263 Posted August 23, 2017 Author Share Posted August 23, 2017 Well it seems papyrus lacks class object support, i did however find JContainers(http://www.nexusmods.com/skyrim/mods/49743/?) which allowed me to pass data in dynamic arrays. It's not ideal but it gets the job done. Link to comment Share on other sites More sharing options...
Recommended Posts