jguhlin / minimap2-rs

Rust bindings to minimap2 library
Other
60 stars 13 forks source link

FEATURE: Make work with rayon #5

Open jguhlin opened 1 year ago

Ge0rges commented 10 months ago

Hello,

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

jguhlin commented 10 months ago

@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 commented 5 months ago

Misspoke. My brain isn't working.

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

Ge0rges commented 5 months ago

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

jguhlin commented 5 months ago

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.