IRobustJob / IParallelRobustJob for threading #21967
metalgearsloth
announced in
Code announcements
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
IRobustJob and IParallelJob (to split out into several IRobustJobs) have been added to the engine. These can be passed to ParallelManager to have work run on the threadpool instead of relying upon Task.Run / Parallel.For and allocates less. It also easily allows you to change batch sizes and store the job across ticks to avoid re-allocating it every time.
Beta Was this translation helpful? Give feedback.
All reactions