-
Notifications
You must be signed in to change notification settings - Fork 490
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
rayon adaptive #616
Comments
Very cool! I am excited to read more deeply into those posts! |
hi niko, |
Take note of #666, where a user is concerned about allocation overhead. In our last discussion, we were talking about |
thanks for the pointer.
maybe I don't really get what's a closure.
if I clone a closure isn't it just a pointer copy ?
also, do you have an example of some closure which implements Fn but not Clone ?
I still have no idea how to get one.
finally, if someone gives a reference to a closure as argument will not the clone happen on the reference then ?
Fred
De: "Josh Stone" <notifications@github.com>
À: "rayon-rs/rayon" <rayon@noreply.github.com>
Cc: "frederic wagner" <frederic.wagner@imag.fr>, "Author" <author@noreply.github.com>
Envoyé: Samedi 29 Juin 2019 03:27:25
Objet: Re: [rayon-rs/rayon] rayon adaptive (#616)
Take note of [ #666 | #666 ] , where a user is concerned about allocation overhead. In our last discussion, we were talking about Clone / Arc for your map closures -- both solutions may invoke the allocator in places where we don't now.
—
You are receiving this because you authored the thread.
Reply to this email directly, [ #616?email_source=notifications&email_token=ACN7RMYPDBLAYWSIJCOKOXDP42273A5CNFSM4GLX2CKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY3OZBI#issuecomment-506915973 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/ACN7RM5JHZ7PSQXB4VR6PVLP42273ANCNFSM4GLX2CKA | mute the thread ] .
|
This post may help you: A closure is basically just a
For an immediate closure value, you're cloning the struct of captures -- which could just be references, but not necessarily. Cloning a reference
By default, a
Yes, as It's definitely a breaking change to add a Adding |
hi everyone,
you are all moving fast and i'm moving slowly but finally I wanted to present my work on rayon.
the idea has been to implement several techniques from our lab on top of rayon.
i've written a serie of blog posts here:
http://www-id.imag.fr/Laboratoire/Membres/Wagner_Frederic/rayon-adaptive.html
I don't present all my work but it is already a big chunk of it.
I would be very happy to discuss with everyone about it.
I hope you have some time during the holidays :-)
all feedback is welcome. thanks again for your wonderful library
The text was updated successfully, but these errors were encountered: