compile-time initialization of objects need?

Weed resume755 at mail.ru
Sun Dec 28 15:00:36 PST 2008


Christopher Wright пишет:
> Weed wrote:
>> It not syntactic sugar. I suggest not to waste time at all performance
>> on run-time initialization of objects and check of side conditions on a
>> course of performance of the program.
> 
> Sorry, syntactic sugar and some minor optimizations.


These of optimization are very important when the program contains many
objects for mathematics.

In adjacent thread wish to take out complex numbers in library, for
example. Those who used static initialization of complex types can want
to use it and with new library.



More information about the Digitalmars-d mailing list