#1 Figure out a way to use multiple cores.

Mở
%! (template.HTML=2 tháng trước cách đây)đang mở bởi stevet · 0 ý kiến

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.
Đăng nhập để tham gia bình luận.
Không có Milestone
Không có người được phân công
1 tham gia
Đang tải...
Hủy bỏ
Lưu
Ở đây vẫn chưa có nội dung nào.