Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: C optimization: int vs char

Author: Pham Minh Tri

Date: 07:33:57 10/11/01

Go up one level in this thread


[snip]
>Wrong. Using 16 bits registers (words) is very slow, always use 32 bit
>registers (int) where ever you can. Large tables using char is okay as
>long as the index is an int.

Someone suggests me to use UINT instead of int. The assembly code for UINT is
little faster than code for int.

>Ed
>
>
>
>
>>Uli
>>>
>>>Thanks
>>>
>>>Travers



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.