[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: kdebase/kcontrol/kdm
From: Rik Hemsley <rik () kde ! org>
Date: 2002-01-14 2:11:03
[Download RAW message or body]
#if Oswald Buddenhagen
> > (I will never understand why people use QFont pointers)
> >
> because it's more effective? c++ makes many things simple. especially
> unnecessarily slow/bloated code (not that it would matter much in this
> case, but in general i'm sure we could make kde twice as fast by
> eliminating typical unefficiencies hidden by high-level constructs).
> even if qfont is a qshared, there is still a significant overhead in
> copying it compared to assigning a pointer.
Did you measure that ? What was the outcome ? It's bad programming style
to use pointers to QFont when they're not necessary, so you need a good
reason for it.
Rik
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic