#1 Figure out a way to use multiple cores.

Açık
stevet tarafından 2 ay önce kere açıldı · 0 yorum
Steve Thielemann 2 ay önce olarak yorumlandı

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.
Giriş yap bu konuşmaya katılmak için.
Kilometre Taşı Yok
Atanan Kişi Yok
1 Katılımcı
Yükleniyor...
İptal
Kaydet
Henüz bir içerik yok.