Eventually, at some point in time, we should commit to making our code multi-threaded. Since some platforms may not support it, however, we could do something where we have a global thread-pool that's an option, and if that option is Some, then take advantage of this. We could use this, for example, with bots, where each bot runs on a separate thread, then they the result is joined together at the end.
We could also do it for loading a map, where map objects are broken up into 4 or more sections that multiple threads can add at the same time.
Eventually, at some point in time, we should commit to making our code multi-threaded. Since some platforms may not support it, however, we could do something where we have a global thread-pool that's an option, and if that option is Some, then take advantage of this. We could use this, for example, with bots, where each bot runs on a separate thread, then they the result is joined together at the end.
We could also do it for loading a map, where map objects are broken up into 4 or more sections that multiple threads can add at the same time.