Re: performance issues with large numbers of folders



Am 23.08.2003 15:20 schrieb(en) Peter Bloomfield:
> In principle, each mailbox has a view, and that's how Balsa  
> currently implements them. New mailboxes get a view with a  default 
> set of values, however, and until these are changed, the  view 
> doesn't need to be realized. Likewise, as Darko points out,  if the 
> view is non-default but isn't changed in the session, the  copy saved 
> in the config file doesn't need to be updated.
> 
> If we take advantage of these opportunities, both the number of  
> views created in a session, and the volume of access to the  config 
> file, can be reduced. The price would be more complicated  methods 
> for getting values from the (possibly default) view, and  some 
> overhead in tracking which realized views have actually  changed.
> 
> Does anyone see any potential issues with this direction?

Yes. I don't know exactly how you access the config-file, but I guess 
as soon as one single View gets changed in the session, you'll have to 
save them all to get the desired file, as you usually can't randomly 
access it. That's why GConf would have an advantage here.

Darko Obradovic

PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]