Computer Chess Club Archives


Search

Terms

Messages

Subject: speed question about programs?

Author: blass uri

Date: 07:25:39 05/26/00


I understand that searching for the value of a varaible can take more time if
the variable is not in the CPU(not register variable).

I have some questions

1)Is searching for the value of a register variable takes the same time in case
of more variables when there are more variables in the CPU.

2)Is searching for the value of a variable takes more time in case of more
variables if the variable is not in the CPU.

3)How many register variables can be saved in the registers of the CPU
4)How much faster is using register variables relative to using not register
variables?

My logic say that searching for the value of the variable should take more time
in every case when there are more variables because searching for a word in a
big dictionary takes more time than searching for a word in a small dictionary
but I do not know if computers search in a "dictionary" for variables or use
another method.

I understand that the reply to questions 3 and 4 may be dependent on the
hardware

Uri



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.