Re: easy login time win



On Fri, 2004-12-03 at 20:09 +0530, Michael Meeks wrote:
> On Mon, 2004-11-22 at 22:38 -0500, Havoc Pennington wrote:
> > The basic situation here is that optimizing the parser can't possibly be
> > a big win; we need to avoid loading the zillion translations.
> > Avoiding the parsing entirely is the way to save a really noticeable
> > amount of time.
> 
> 	Out of interest; are we storing the zillion translations in memory ? we
> saved a nice chunk of space with b-a-s when we incrementally added
> translations as necessary on-demand by re-parsing [ a very rare
> use-case ].

Yes, they are in memory. In terms of speed, incrementally adding them
won't help (since they are still the bulk of the XML file size and have
to be plowed through). But dumping them would help with space.

The "right" fix is the thing at
http://www.gnome.org/projects/gconf/plans.html - just move all the
schemas to client side, and probably in the process of doing that split
the short/long descriptions into a separate file or file segment from
the other aspects of the schemas.

But a short-term fix would be some cache hack similar to the icon cache.

Havoc





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