Hi Christian, > Dear Valeriy > > Thank you for your answer. > I am not sure if I understand it correctly: Do you mean to place > 100 000 TObjects in TFile? yes, it works with TFiles > What I did at the moment is to create a system directory with > 10,000 empty text-files in it. > It took TRootBrowser 115 seconds to open this directory, which > is much too slow to be useful. This option doesn't work with TSystemFiles. Nevertheless yours number is strange. I made similar tests on my average computer (linux,pentium-2, 800MHz). Response is much faster than in your case. BTW it's faster than KDE-2 browser. > Do you mean that grouped items are hidden from the browser > because of this slowness? Not correct statement. Items are not hidden. You can display content of the group by clicking on "group icon". >Do you have some simple example? Try from root prompt: li = new TList(); for (int i=0; i<100000; i++) li->Add(new TObject()); gROOT->GetListOfBrawsables->Add(li); new TBrowser(); Click on TList in the left part of browser. Regards. Valeriy > > Best regards > Christian > > Valeriy Onuchin wrote: > > > Hi Christian, > >browsing container with a large number of object (e.g. 100 000) > >its content is displayed as a set of "grouped items" (you will see > >a set of special icons in the right part of browser). > >fGroupSize determines a number of items in each group. > >To find in which group specific item is located you can either invoke > >search dialog by clicking Ctrtl-F F7 keys or determine from > >a name of the group which is "name_of_first_item-name_of_last_item". > >This is done to make browsing of large containers to be effective. > >You can disable this feature by setting fGroupSize to some very large > >number, e.g. 100 000 000. > > > >Regards. Valeriy > > > > > > > > > >>Dear Rooters > >> > >>Currently, I am trying to understand the code from TRootBrowser, > >>and I have problems with TRootIconBox::AddObjItem(): > >> > >>What is the reason of "fGroupSize" and "fGrouped"? > >> > >>What does "switch to global view mode" mean? > >> > >>What does ("Browser.GroupView","1000") mean, i.e. > >>groupsize = 1000 vs 10000000 if unchecked?? > >>(I know that the default is set in system.rootrc, but I do > >>not know the reason for this setting.) > >> > >>When I check/uncheck Menu "Group Icons", I do not see > >>any difference in the behavior of TRootBrowser, either. > >> > >>Thank you in advance > >> > >>Best regards > >>Christian > >>_._._._._._._._._._._._._._._._ > >>C.h.i.s.t.i.a.n S.t.r.a.t.o.w.a > >>V.i.e.n.n.a A.u.s.t.r.i.a > >>_._._._._._._._._._._._._._._._ > >> > >> > >> > >> > >> > > > > > > > > > > > > >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET