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

List:       kmail-devel
Subject:    Re: Serial number-related trouble, again
From:       David Faure <dfaure () klaralvdalens-datakonsult ! se>
Date:       2005-06-10 9:13:30
Message-ID: 200506101113.30909.dfaure () klaralvdalens-datakonsult ! se
[Download RAW message or body]

On Friday 10 June 2005 06:50, Don Sanders wrote:
> Perhaps IIRC it's also an example of the flyweight design pattern. 

Then it should be done right - flyweight means refcounting.
But then I would suggest applying flyweight by the book, to avoid
"several data structures that have to be kept uptodate in parallel"
and use a standard API for that instead.

> Yes valid criticism. But it would satisfy the requirement.

So would a bitfield in KMMsgBase.... (note that there are two bools there already).

-- 
David Faure -- faure@kde.org, dfaure@klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions

_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel

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

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