[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Kmail slow
From:       Mark Deneen <deneen () bucknell ! edu>
Date:       2000-06-09 19:58:40
[Download RAW message or body]

On Fri, 9 Jun 2000, Rik Hemsley wrote:

> #if Michael Matz
> > > Hmm, I do that in Empath, but not a child id - a message may have more than
> > > one children !
> > 
> > Thats easy too :) In each message store a pointer (or msg-ID) to the
> > sibling message. So if you have a parent P, you get the first child C by
> > P->child, and all other children by following C->sibling. (like
> > for (c=p->child; c; c=c->sibling) {do_something_with(c);} )
> 
> Are you volunteering to write the algorithm to set those sibling references
> up ? :)
> 
> Actually, it's not really a good plan, as messages don't have siblings,
> they only have parents (specified in 'References' headers), so it would
> be a weird model to use.

Well, if two children have the same parent, they are siblings.  :)  You 
would have to do a lot of work to set up the correct links, though.  =]

-m

 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic