foamyesque Posted August 22, 2017 Posted August 22, 2017 (edited) On 8/22/2017 at 5:19 AM, cdcooley said: 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
FlyBy263 Posted August 23, 2017 Author 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.
Recommended Posts