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

Is it me or is there a way to make roaring 64 run in multi thread or multiple core cpu? #280

Open
gitmko0 opened this issue Oct 19, 2020 · 4 comments

Comments

@gitmko0
Copy link

gitmko0 commented Oct 19, 2020

my roaring 64 is running only on 1 cpu default using the example. how to make it run on multi core / multi thread?

@Oppen
Copy link
Contributor

Oppen commented Jun 16, 2021

I think this is either a duplicate of #38 or it suffices to use several bitmaps and each thread process a few of them. You can also use a single one and a mutex, but that wouldn't be so efficient.

@lemire
Copy link
Member

lemire commented Jun 16, 2021

We have parallelized functions such as ParOr. This is not currently very well documented and we could do better.

@lemire
Copy link
Member

lemire commented Jun 16, 2021

If I wanted to be silly, I'd say that the answer is "yes" to "is there a way to make roaring 64 run in multi thread or multiple core cpu?"... but we should probably elaborate with examples in the README.

@Oppen
Copy link
Contributor

Oppen commented Jun 16, 2021

Sorry, I thought this was CRoaring 🤦
I know some ops are parallel here. I think some more could be parallelized tho.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants