Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: optimizing loops question

Author: Omid David Tabibi

Date: 07:52:52 07/20/03

Go up one level in this thread


On July 20, 2003 at 10:24:00, Vladimir Elin wrote:

>I'm not sure too, but in my program I used ++i.

It is a good practice to use ++i instead of i++, but I prefer the latter (just a
habit).

Anyway, I think both of them should translate to a simple asm instruction

inc eax

so, no practical difference.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.