#1 Figure out a way to use multiple cores.

Aberto
2 meses atrás foi aberto por stevet · 0 comentários

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.
Faça login para participar desta conversação.
Sem milestone
Não atribuída
1 participantes
Carregando...
Cancelar
Salvar
Ainda não há conteúdo.