Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Chess programming puzzle

Author: Russell Reagan

Date: 22:47:34 02/22/05

Go up one level in this thread


On February 22, 2005 at 15:49:26, Steffen Jakob wrote:

>>[ scott@wannabe:~/tmp ] % g++34 -O -S steffen.cpp ; wc -l steffen.s
>>     557 steffen.s

I get 259 lines when I use the same command.


>Most of this code is because of using streams. If I replace them by printf,
>define the GetXXX() functions inline and compile the code with gcc instead of
>g++ I get 148 assembler lines.

I get 135 after switching to printf.

I think counting compiler generated assembler lines is a very bad test of
anything.



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.