Re: [ROOT] big files with lot of objects ?

From: joe robe (joer00@yahoo.com)
Date: Wed Nov 28 2001 - 12:53:47 MET


Hi Valeri,

thanks for your info. Just to be sure which way to go
these additonal questions:

>    1. Time to read the TList of all TKeys of the
> current   
>        TFile at the time the file is open. 

I guess this is done only ONCE when the file is
opened, and later the TKeys are in memeory ?

>    2. Time to look up the list of TKey (in memory).
> It is quick 
>         if the number of key is reasonable. 

Is that a kind of binary search or everytime a full
scan trough TKEys ??

>         objects are huge  <?? how large is your huge
> ??> as you claimed

Well I thought again about my application and HUGE was
maybe the wrong statement. I refered to huge as normal
macros,c++ files are very tine. BUT in the final app I
will have A LOT of objects, approx. 2000 in the size
between 3 and 10 MB each !

Of course I do not have that much ram, so another
question is how to move neede objects between disk and
memory. As I understand no chnages in a object in
memory is written to the disk automatically. So
basically I could open a file and in my loop  (its a
stock screening app, so I need to do some NN and
Correlation math on EACH stock), get the object, do
the math and than DELETE the object and later RETRIEVE
it again with get. That should work or ??

Thanks for any additonal info.

Joe


__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1



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