Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Is it good to give a function a struct of 4 chars or maybe it is

Author: Tom Kerrigan

Date: 02:58:54 04/16/03

Go up one level in this thread


These data structures look very familiar. ;)

You might as well move 32 bits (4 chars) around on a 32 bit computer. Moving 24
bits around instead won't be any faster.

You can look at the assembly to make sure all your chars are being moved as one
word.

-Tom



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.