[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: qt-copy/src/kernel
From: Christian Loose <christian.loose () hamburg ! de>
Date: 2003-06-05 17:38:02
[Download RAW message or body]
Am Donnerstag, 5. Juni 2003 15:38 schrieb Michael Brade:
> On Thursday 05 June 2003 02:43, Daniel Molkentin wrote:
> > - chr++;
> > + ++chr;
>
> Why are people still doing those changes? If it is because of taste---ok.
> But if it is because of efficiency, forget it. gcc generates exactly the
> same code for both.
well gcc isn't the only compiler that is used in combination with Qt.
Also ++i might be more efficient than i++, but i++ is never more efficient
than ++i. Especially when it comes to iterators. IMHO that is the reason why
many people prefer ++i over i++.
Christian
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic