Hi Thomas, When TTree reads in a TClonesArray, it can make some assumptions. WE know that we do not have holes in the array and we also know that we are going to read immediatly at the free slots. We can save a pre-initialisation loop in case the new number of entries is smaller than the current array size. There is also no need to add/remove the objects from the TObjectTable if this table exists. If you are aware (see the comments in these functions) of the restrictions, you can save some time by calling directly ExpandCreateFast. That is why we left this function in the public section. Rene Brun Thomas Bretz wrote: > > Hello rooters, > > I was searching in the documentation for an explanation when I'm able > (like TTree) to call ExpandCreateFast instead of ExpandCreate. What is > the difference? > > Thanks, > Thomas.
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:06 MET