Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: optimizing loops question

Author: Omid David Tabibi

Date: 06:51:35 07/20/03

Go up one level in this thread


On July 20, 2003 at 09:47:49, Vladimir Elin wrote:

>I think that ++i faster the i++ in loops.

I once checked the assembly of i++ and ++i in various parts, and found out that
they produce exactly the same result. There might be some special cases I'm not
aware of, but generally why should the assembly of i++ be any different than ++i
?



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.