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

List:       kde-commits
Subject:    Re: KDE/kdelibs
From:       Stephan Kulow <coolo () kde ! org>
Date:       2005-09-28 20:31:42
Message-ID: 200509282231.43355.coolo () kde ! org
[Download RAW message or body]

Am Mittwoch, 28. September 2005 21:13 schrieb Stephan Kulow:
> > You're talking about painting performance. For normal code Qt4 is faster,
> > isn't it? They talked so much about their emphasis on speed...
>
> I agree they talked a lot about it. But you and I know they were wrong
.... in cases. My point was mainly that just because Qt does something, 
doesn't mean it's good without making up your own mind. And jumps between
text segments _is_ slower than inlining a data accessor. The more often a
member is used, the more it hurts. And check e.g. QString::size() - no sane
developer would put that in an out of line function.

The same about malloc: the more a class is created, the more the private d
pointer hurts. And fortunately classes like KURL that we still create a lot is
not creating a Private - and that has to stay this way.

Greetings, Stephan
[prev in list] [next in list] [prev in thread] [next in thread] 

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