Author: Slater Wold
Date: 06:07:18 03/26/04
Go up one level in this thread
On March 26, 2004 at 08:50:51, Fabien Letouzey wrote: >>>I find it interesting; do you feel like investigating? >> >>Yes. I can, and will. I started looking last nite, but ran out of time. > >It's not urgent of course, but I think we've got something to learn. >For instance a way not to do things for 64-bit platforms :) > >>>One drawback of 64-bit ints and pointers is that they could take more space in >>>memory, but I thought I carefully avoided that everywhere ... > >>I am not sure what's slowing it down. I could clearly see why it might not get >>a huge speedup, but the 10% slow down is confusing. > >I pass many pointers as function arguments (for instance I pass a pointer to the >board everyhere instead of using a global variable). To me an argument is the >same as a local variable, and the slow down is very small on 32-bit platforms I >am sure. This was my first guess. You cannot cast pointers to int, long, ULONG, or DWORD in 64-bit. And there's a whole slew of other things to look at, also. >Also, I keep move lists and the PV in local stack frames, making stack usage >quite large (although only a small part of the frame is used at each level). > >Do you think it could be the stack? It very well maybe a part of it, but I think investigating the pointers, arguments, and variables is a better place to start. >Fabien.
This page took 0.02 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.