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

"Unroll" some of the C loops? #15

Open
mpadge opened this issue Jul 5, 2018 · 2 comments
Open

"Unroll" some of the C loops? #15

mpadge opened this issue Jul 5, 2018 · 2 comments

Comments

@mpadge
Copy link
Member

mpadge commented Jul 5, 2018

This would require a pretty extensive restructure of current code, but the kind of unrolling I discovered via @njtierney here, and explained in this blog post might offer even more speed improvements?

@njtierney
Copy link

I wonder if it would be worthwhile to consider the speed improvements of using RcppParallel - looking at this example here where they create a distance matrix, they get a 5.5x speedup to regular Rcpp code, which is pretty nice.

@njtierney
Copy link

I'm happy to look into using RcppParallel if that would be helpful?

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