Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2003-12-12 11:23:30


David Abrahams <dave_at_[hidden]> writes:

> 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?

Volodya, I don't mean to press you, but I'm afraid that large and
unneccessary changes could get made if you don't consider this
question.

-- 
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