Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE: Make work with rayon #5

Closed
jguhlin opened this issue Nov 17, 2022 · 6 comments
Closed

FEATURE: Make work with rayon #5

jguhlin opened this issue Nov 17, 2022 · 6 comments

Comments

@jguhlin
Copy link
Owner

jguhlin commented Nov 17, 2022

No description provided.

@Ge0rges
Copy link

Ge0rges commented Oct 24, 2023

Hello,

I was wondering if there was any update to this issue?

@jguhlin
Copy link
Owner Author

jguhlin commented Oct 24, 2023

@Ge0rges No, I haven't thought about it in awhile, but I could revisit it soon. The best way to use multiple threads is as shown in the example program (fakeminimap2) using a worker queue system. It has to do with the send + sync traits with the minimap2 FFI. I would like to get there eventually though.

jguhlin added a commit that referenced this issue Mar 16, 2024
@jguhlin
Copy link
Owner Author

jguhlin commented Mar 16, 2024

Misspoke. My brain isn't working.

Still, should be working, can you give it a try and let me know?

@Ge0rges
Copy link

Ge0rges commented Mar 16, 2024

I think it works? I wrote a quick implementation for chopper.

@jguhlin
Copy link
Owner Author

jguhlin commented Mar 16, 2024

Awesome! I'll keep it as "experimental" for now and if nobody has any major issues I'll mark it as stable next release or so.

jguhlin added a commit that referenced this issue Nov 26, 2024
jguhlin added a commit that referenced this issue Nov 26, 2024
@jguhlin
Copy link
Owner Author

jguhlin commented Nov 27, 2024

Rayon works

@jguhlin jguhlin closed this as completed Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants