[Scons-users] Clone effectiveness
Damien Hocking
damien at 0x544745.com
Thu Sep 13 14:52:34 EDT 2018
We do this too. Most dlls and sos have a cloned environment.
> On Sep 13, 2018, at 12:27 PM, Pierre-Luc Boily <pierreluc.boily at gmail.com> wrote:
>
> Hello!
>
> Just read on the forum :
>
> /Here's the caveat.
> Don't make a gazillion Clone's they're not lightweight.
> If you make 100, it won't kill you, if you make 1000's you may start seeing
> memory and speed impacted./
>
> Our project branch contains 800 sconscript files. From those 800, 300 are
> for windows compilation, 500 are for unix compilation.
>
> We systematically create a clone of the environment at the beginning of
> *each *sconscript. So, if I understand well, it might not be the best
> approach. It would be better to do a Clone only when it is needed?
> Reducing the number of clone could potentially speed up the creating of the
> tree?
>
> Thx
>
>
>
> --
> Sent from: http://scons.1086193.n5.nabble.com/Users-f16930.html
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
More information about the Scons-users
mailing list