#1 Figure out a way to use multiple cores.

Ouvert
Créé il y a 2 mois par stevet · 0 commentaires

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.
Connectez-vous pour rejoindre cette conversation.
Aucun jalon
Pas d'assignataire
1 Participants
Chargement…
Annuler
Enregistrer
Il n'existe pas encore de contenu.