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

List:       kde-devel
Subject:    Re: Kmail slow
From:       Rik Hemsley <rik () kde ! org>
Date:       2000-06-09 19:39:46
[Download RAW message or body]

#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.

Rik
 
>> 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