The problem is, initially collecting all this information from each form using GetType, GetName, GetNthMagicEffect etc on 300+ items is very time consuming, taking about 25-30 seconds.
Now, I know papyrus can multi-thread, so was wondering whether I can explicitly set this up to split the workload across 4 or more threads - eg for a 100 item formlist, process items 1- 25, 26 - 50, 51 - 75, and 76 - 100 all in parallel across 4 threads. What's the best way to set this up to allow parallel processing?