|
Boost-Build : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-12-11 10:39:45
Vladimir Prus <ghost_at_[hidden]> writes:
> I think everybody knows already that my optimization strategy for V2 is to
> rewrite all slow non-user-servicable parts in C. Previously, we've used to
> add new builtins. I'd like to describe a slightly different approach I'm
> planning to use.
>
> The problem with builtins is that they are declared and executed in global
> module. This means that if rule accesses module variables, or if rule is a
> class method, we're in trouble, since those variables can't be accessed, at
> least cleanly.
Isn't that what the "localize" parameter to IMPORT is for?
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk