#1 Figure out a way to use multiple cores.

Otvorená
otvorené 2 mesiacov pred užívateľom stevet · 0 komentárov

I would like to be able to use more then one core when building 16x16 and 25x25 boards. Since there's a lot more possibilities, this doesn't work very well.

I've thought about the possibility of when I hit more then one possible number - to try to spawn a tokio task.

But, then I have a "non-async" function that's trying to be async.

And, there's the issue of joining the task...

Or, is it even possible, when using recursion to parallelize this?

I would love to come up with a solution for this.

I would like to be able to use more then one core when building 16x16 and 25x25 boards. Since there's a lot more possibilities, this doesn't work very well. I've thought about the possibility of when I hit more then one possible number - to try to spawn a tokio task. But, then I have a "non-async" function that's trying to be async. And, there's the issue of joining the task... Or, is it even possible, when using recursion to parallelize this? I would love to come up with a solution for this.
Prihláste sa pre zapojenie do konverzácie.
Žiadny míľnik
Žiadny priradený
1 účastníkov
Načítavanie...
Zrušiť
Uložiť
Zatiaľ neexistuje žiadny obsah.