Author: Roman Hartmann
Date: 05:24:33 09/28/04
Go up one level in this thread
On September 28, 2004 at 08:03:46, Juergen Wolf wrote: >Not sure whether i fully understood your posting. >Passing pointers/addresses instead of structures is usually faster, >as in the later case a copy of your structure will be created whereas in the >first case one a 32-bit value will be passed to the called procedure > >kind regards juergen hello, that sums about up what I was trying to say. That passing pointers is usually faster than copying values is common knowledge among programmers but I didn't expect to make the generator 6 times faster by changing only some functions to accept pointers instead of structures. Roman
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.