Have you seen frameworks like OpenMP? You can use magic compiler comments to tell it to parallelise loops, or run different sections on different threads. It would probably still take a fair bit of work to parallelise the path finding calculations, but it would handle the plumbing of running it on its own thread, along with any other sets of independent calculations, automatically scaling to the cores available.
zoundler21 karma
Have you seen frameworks like OpenMP? You can use magic compiler comments to tell it to parallelise loops, or run different sections on different threads. It would probably still take a fair bit of work to parallelise the path finding calculations, but it would handle the plumbing of running it on its own thread, along with any other sets of independent calculations, automatically scaling to the cores available.
View HistoryShare Link