Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Branchless code

Author: Pham Hong Nguyen

Date: 17:40:20 11/18/02

Go up one level in this thread


On November 18, 2002 at 20:32:43, Bob Durrett wrote:

>On November 18, 2002 at 20:24:21, Pham Hong Nguyen wrote:
>
>>I think you miss something here: what makes mainly program slow is not if else
>>statement but missing of code predictation and cache causes by branches: the
>>price of penalty is quite high. Your code of using pointers cannot improve
>>anything about that.
>
>How to avoid "missing of code predictation and cache" ?

Don't use if - else ;)


>
>Bob D.



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.