Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: FirstOne/LastOne

Author: Dieter Buerssner

Date: 12:40:39 06/12/04

Go up one level in this thread


On June 12, 2004 at 15:25:03, Gerd Isenberg wrote:

much snipped

>UINT32 WalterFaxonsMagicBitscan(BitBoard &bb)

>unsigned int MattTaylorsLastOne(BitBoard &bb)

Gerd, did you test, whether those functions are faster without using a
reference? Of course, one cannot clear the bit then. I always have the feeling,
that using pointers (which references internally will be) makes the job for
optimizers much more difficult. Can compilers optimize away the indirection when
the functions are inlined? (I have only little experience with C++).

Regards,
Dieter



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.