[Scons-dev] Vector to speed up SCons through DefaultEnvironment memoization

anatoly techtonik techtonik at gmail.com
Thu May 15 05:23:24 EDT 2014


When you create Environment only with specific tools,
DefaultEnvironment is still called and queries all tools.

The known workaround is to explicitly initialize
DefaultEnvironment with subset of tools. But explicit
workaround is ugly, so it should be possible to pass
tools argument from Environment to DefaultEnvironment
and memoize (cache) DefaultEnvironment for this
specific combination of tools.

I think this will save us more than 20% of time on tests.
--
anatoly t.


More information about the Scons-dev mailing list