Am Wed, 13 Feb 2013 14:44:36 +0100 schrieb FG <h...@fgda.pl>: > On 2013-02-13 14:26, Marco Leise wrote: > > template Julia(TReal) > > { > > struct ComplexStruct > > { > > float r; > > float i; > > ... > > Why aren't r and i of type TReal?
They are actual storage in memory, where every increase in size hurts. And they cannot be optimized away, like temporary reals, which can be kept on the FPU stack. -- Marco