Difference between revisions of "Creating Multithreaded Skyrim Mods"
Jump to navigation
Jump to search
Creating Multithreaded Skyrim Mods (edit)
Revision as of 00:28, 19 January 2015
, 00:28, 19 January 2015no edit summary
imported>Chesko |
imported>Chesko |
||
Line 30: | Line 30: | ||
# Multithreading excels at taking tasks that would otherwise be run in sequence and making them run simultaneously. | # Multithreading excels at taking tasks that would otherwise be run in sequence and making them run simultaneously. | ||
# Due to the way the Papyrus scheduler must sync external calls to frames, many external calls can add a great deal of overhead (see | # Due to the way the Papyrus scheduler must sync external calls to frames, many external calls can add a great deal of overhead (see [http://www.creationkit.com/Threading_Notes_%28Papyrus%29 this page] on notes regarding how external calls suspend and resume threads); this pattern can greatly reduce the number of external function calls. I have personally seen performance over 10 times faster (an action that once took ~8.5 seconds to now takes ~0.5 seconds) in my own mods using this method. | ||