Computer Chess Club Archives


Search

Terms

Messages

Subject: programming quesion, about executable size.

Author: Antonio Dieguez

Date: 17:21:41 06/25/00


First, am sorry my ignorance.

I added to my program hash tables recently.

The entries are like this:


const static int capacidadhash=524288; // 7 megas para la hashtable.

struct
{

long id;
short prof_tipov; // tiene prof*10+tipov
short eval;
short recomxy; // tiene recx*100+recy

} hashtable[capacidadhash];


am compiling with gcc and my question is why this make the executable of my
program be 7 mb of size?

thanks.



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.