Re: [Evolution-hackers] The Junk folder & API



On Wed, 2005-06-08 at 19:24 -0400, Lee Revell wrote:
> On Sun, 2005-05-29 at 15:21 -0400, Joe Shaw wrote:
> > On Sun, 2005-05-29 at 18:43 +0530, Not Zed wrote:
> > > The information is also stored in the X-Evolution header.  So you have
> > > full access to the junk flag, even if you only parse the mailbox.
> > 
> > Ah, excellent, thanks for the info.  We're actually already parsing the
> > first half of X-Evolution to get the UID out, so this will be easy to
> > add.
> > 
> > > You don't have access to things like labels and colours though, which
> > > aren't written to the X-Evolution header anymore - for performance
> > > reasons.
> > 
> > We're not indexing those anyway, although it'd be nice.
> 
> Wait, so Evolution does not expose a more efficient API than brute force
> mbox parsing?  Evolution presumably builds internal indices for
> performance reasons, can't these just be exposed?

It has to parse the mailbox for its own indexing, i presume it is part
of that, so it isn't an extra overhead as such.

I always thought beagle was just looking at its private internal binary
summary file anyway for things like flags.







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