== Quote from bearophile ([email protected])'s article > I think the D compiler has to take a look at the size of the static arrays, > if they are too much large, then their initialization has to be done with a loop, avoiding the creation of such huge executables.
TypeInfo should probably contain an init(void[]) routine instead of a void[] member which is byte copied onto the new block. Then, initializers that are easy to decompose could at least be turned into a series of memset operations. For built-in types, this should be very easy to do, since the functions could be hand-coded as opposed to requiring code generation from the compiler. Sean
