pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pingus-CVS] CVS: Games/Pingus/src/input controller.cxx,1.10,1.11


From: David Philippi
Subject: Re: [Pingus-CVS] CVS: Games/Pingus/src/input controller.cxx,1.10,1.11
Date: Thu, 15 Aug 2002 18:30:26 +0200
User-agent: KMail/1.4.1

On Thursday 15 August 2002 13:35, address@hidden wrote:
> ++it is/(can be) faster than it++, so its better to get used to the first
> one

BTW the difference is that it++ needs to return a temporary with the old 
value which may not be optimized away in all cases.
A ++it will change the value before anything else may be done with it so 
there's no need to return a temporary at all.

Bye David





reply via email to

[Prev in Thread] Current Thread [Next in Thread]