Artificial-Intellicrafters / Merlin-AI

Mozilla Public License 2.0
0 stars 1 forks source link

Multi-threading #3

Open Stuff-Stuffs opened 2 years ago

Stuff-Stuffs commented 2 years ago

It should be possible to build and update the location cache and data for HPA on the main thread and then pathfind on another thread, as the datastructures for HPA and location caching should be immutable. This would provide a speedup for most computers

Bubblie01 commented 2 years ago

we could add this later, I think multithreading could speed things up but it might be best to finish a base product before we go ahead and mutlithread everything.