|
Boost : |
From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2006-03-09 11:54:31
"Alexander Nasonov" wrote:
>> It is dog-slow: the small example takes over minute!!!! on
>> Athlone XP 2200+ (no optimisations enabled).
>>
>> Intel is known for being slow on heavy templatized code
>> and its preprocessor processing is exponential.
>
> Unless you passed a lot of variables to BOOST_FINALLY_BEGIN,
> it's not PP, it is Boost.Typeof that is very slow.
>
I tried dozens of BOOST_FINALLYs in one TU and
the compilation time stays the same (the minute).
So it is not PP.
>> Mr. Alexandrescu had suggested something like that
>> to be included in the language (as a killer feature
>> not seen in mainstream languages). Specifically,
>> he suggested:
>>
>> on_block_exit { .... code .... }
>> on_block_success { ... code ... }
>> on_block_failure { ... code ... }
>
> Cool, I didn't know this.
> Is there any proposal for this?
>
This c.l.c++.m thread
or
He had characterised it as "nice research topic ;-)"
and I guess no one had dared to propose it for
standardisation.
/Pavel
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk