Re: [ROOT] How to accelerate root output?

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Thu Nov 01 2001 - 13:26:02 MET


Hi Rene, 

On Thu, 01 Nov 2001 10:33:36 +0000
Rene Brun <Rene.Brun@cern.ch> wrote
concerning "Re: [ROOT] How to accelerate root output?":
> This class has a bad layout for two reasons.
>   - in memory, an instance will occupy more space than you
>     think. All compilers have to align the member boundaries such
>     that, eg fD2 starts at an 8byte boundary.

Ok, that makes sense.  I guess this becomes even more tricky on 64bit
machines. 

>   - the I/O loops on all the cases with a penalyzing if for each case.
 
Sorry, I don't get this.  Do you mean it loops on the different kinds
of memory layout as in class or compiler layout?  

Thanks for the clarification. 

Yours, 

Christian Holm Christensen -------------------------------------------
Address: Sankt Hansgade 23, 1. th.           Phone:  (+45) 35 35 96 91 
         DK-2200 Copenhagen N                Cell:   (+45) 28 82 16 23
         Denmark                             Office: (+45) 353  25 305 
Email:   cholm@nbi.dk                        Web:    www.nbi.dk/~cholm



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:05 MET