Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: what is the meaning of RESTRICT in crafty?

Author: Dieter Buerssner

Date: 11:37:26 12/17/03

Go up one level in this thread


On December 17, 2003 at 14:22:22, Uri Blass wrote:

>I find that a lot of functions in Craftyget as a parameter TREE* RESTRICT

For a formal description, you might want to download
http://anubis.dkuug.dk/jtc1/sc22/wg14/www/docs/n869/n869.pdf.gz

>#if defined (_MSC_VER) && (_MSC_VER >= 1300) && (!defined(_M_IX86) || (_MSC_VER
>>= 1400))
>#  define RESTRICT __restrict

I guess this means the same as restrict (without the leading under scores) in
C99 (which is described in the above document - but the document is only a
draft, not the final Standard of ISO C99). Basically, it gives the compiler more
chances to optimize.

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.