@mediv01
Now that is a novel idea, back-porting the multithreaded K-Mod pathfinder to BTS
But on a more serious note, which mod serves as the foundation for your own mod? I also advise caution, as WTP features significantly more complex 'canMoveInto*' functions and lacks essential caches, particularly for danger checks. This complexity could enhance the effectiveness of multithreading. However, both K-Mod and AdvCiv, especially the latter, are likely more efficient. As a result, multithreading in its current state might not be advantageous. This concern is why I've limited the iteration space, restricting maximum concurrency to just 2 threads. My apprehension stems from the possibility that there may not be sufficient work per thread, considering the overhead associated with TBB's operation (such as work-stealing). If we didn't limit the iteration space (which currently has a maximum of effectively 7), we could face a scenario where tasks are allocated too little work relative to the scheduling overhead. I