Re: [ROOT] How to accelerate root output?

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Thu Nov 01 2001 - 10:38:36 MET


Hi Rene et al, 

On Thu, 01 Nov 2001 07:29:50 +0000
Rene Brun <Rene.Brun@cern.ch> wrote
concerning "Re: [ROOT] How to accelerate root output?":
> Hi Victor,
> 
> The new system may even be faster than the old one if you have a
> good class layout. I see so many cases where people mix ints with
> floats, doubles, etc !

Could you be a bit more specific? What do you mean by "good class
layout"? And how does "mix ints with floats, doubles, etc" penalise
you in terms of performance?   Does this have anything to do with the
TClonesArray::BypassStreamer flag?  Perhaps a few lines in the Users
Guide would be a good thing (I didn't actually check, but I can't
remember from past reading seeing anything on this - apologies if it's
already there). 

Am I to understand, that ones
classes should preferably have only one kind of (simple) members
(float, double, XOR, int)?  If so, isn't it a bit archaic, in the
sense that it's something you'd do in Fortran77+ZEBRA?  Thanks.   

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