P0-A1: Part 389: Multithreading/Job System
by PhoenixGames on Jun.17, 2018, under Astral Realms, P-0, Software and Games, Spiritus Astrum
I have spent some time working with unity’s job system.
This is a multi-threaded system that can be used to improve performance in unity projects.
I have conducted a few experiments with it, and it seems to work well, but I think that for most of the work I am doing now, it is not really necessary to multithread it. I think it would be a better idea to optimise it first, and then multithread it only if I run into issues later.
Not all tasks or operations need to be multithreaded, and it is more complex and time consuming to write multithreaded code, so optimising single-threaded code would be preferable in most cases.