|
-
July 30th, 2005, 07:34 AM
#9
Re: Why should I use '++i' instead of 'i++'?
 Originally Posted by humptydumpty
so better to use ++i.to minimize your cpu cycle.and improve your speed
I might agree with that in an application that does that millions of times a second -- but in other applications it doesn't make a hoot which you use. Whether you use ++i or i++ is merly a personal decision, beyond that it is a moot question. Who the he11 cares whether i++ takes 1 or 2 clock ticks more than ++i??? Your time and efforts to optimize a program are much better spent elsewhere. [edit] you might care if you are compiling for a very sloooooooooow computer[/edit]
Last edited by stober; July 30th, 2005 at 07:39 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|