Computer Chess Club Archives


Search

Terms

Messages

Subject: Q: The cashe

Author: Peter Fendrich

Date: 11:51:58 04/10/99


I haven't bothered too much about the performance effect of cashing, except some
basic rules I follow without knowing why...

1) What happens if I access memory like this:
   for (; *p; --p, --q) *q = *p;
   will it be worse than this?
   for (; *p; ++p, ++q) *q = *p

2) Are there any cashing differences by accessing with pointers vs arrays?

3) Does register declaration affect cashing in any way?

4) What are the overall performance win in doing the cashing right?

Thanks!

//Peter



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.