Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Hashing is a complicated affair ?

Author: Russell Reagan

Date: 13:16:25 04/05/04

Go up one level in this thread


On April 05, 2004 at 15:59:40, Dann Corbit wrote:

>>I did have all the assert()s, you mentioned and I may be the top in using
>>assert().

>Have you seen the source code for fruit?

About 6% of the Fruit source code is assert() macros (including blank lines and
comments).

$ cat *.cpp *.h | wc -l
  15370

$ cat *.cpp *.h | fgrep 'ASSERT' | wc -l
    938

(938 / 15370) * 100 = 6.1 %

I have no idea how this compares to others who use assert() liberally.



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.