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

List:       kde-devel
Subject:    Re: dynamic_cast performance overhead
From:       David Faure <faure () kde ! org>
Date:       2005-06-02 19:39:16
Message-ID: 200506022139.16848.faure () kde ! org
[Download RAW message or body]

On Thursday 02 June 2005 21:20, Sunil wrote:
> Its sad that I lost my dynamic cast related changes in
> 1st setup in this whole process and now I have to redo
> this exercise. And this time I will have profiler
> data. It will take some time but I want to start a
> discussion on use of dynamic_cast in kde source in the
> meantime. I will keep posting examples.

In many cases where checking-and-casting (as provided by dynamic_cast) 
is actually needed, you should be able to replace it with a qt_cast
(when it's about QObjects), which should be faster (would be nice to
check that of course).

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
 
>> Visit http://mail.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