It is best to leave it up the caller as doing it concurrently does not
necessarily make it faster. You need to be confident you have enough
content to copy to warrant concurrency. In such cases, you can split it up
the source directory by calling File.ls and then File.cp_r each of the
directories.


*José Valim*
www.plataformatec.com.br
Skype: jv.ptec
Founder and Director of R&D


On Tue, Jan 15, 2019 at 6:01 PM eksperimental <[email protected]>
wrote:

> Hi list,
> Reviewing the code from the File module,
> made me wonder this if there is a reason while File.cp_r/3 is not
> implemented concurrently?
> Is it a design choice, or it is still like that because no-one has made it
> work concurrently?
>
> Cheers
>
> --
> You received this message because you are subscribed to the Google Groups
> "elixir-lang-core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elixir-lang-core/20190116000134.15e73be0.eksperimental%40autistici.org
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4LWqLqboAmM%3Du7wp7xn%2B3BkGerXEb87pN%3DeWBXXD%3D9Eyg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to