inlining or not inlining...

spir denis.spir at gmail.com
Sat Feb 12 04:45:31 PST 2011


On 02/12/2011 12:42 PM, Jim wrote:
> spir Wrote:
>
>> On 02/12/2011 12:15 PM, Jim wrote:
>>> Sorry about that, but I think that is a closely related discussion. @inline is certainly a verb -- even imperative mood, so not just asking for information.
>>> Why do you need information if you can't affect the outcome?
>>
>> I want to know it. First, because it's valuable information in and by itself.
>> Second, because it teaches me something. Third, because I can then possibly
>> decide to not factor out (may be wrong, but still, I can measure...).
>> Glasnost for compilers! ;-)
>
> Glasnost! :)
>
> How about the meta-namespace then:
>
> static if( meta.inlined )
> {
>     writeln("got it!");
> }

I vote +++ for the idea of meta in general. (And tons of + for real type 
objects as plain D data structures).

Denis
-- 
_________________
vita es estrany
spir.wikidot.com



More information about the Digitalmars-d mailing list