Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Various compiler questions

Author: Gareth McCaughan

Date: 19:41:00 01/14/02

Go up one level in this thread


On January 14, 2002 at 14:57:29, Robert Hyatt wrote:

>> 3) How much overhead is added to a function call from a function pointer?
>>    Maybe none? How about if you index an array of function pointers?
>
> A memory reference at most...

Plus possible inability to keep the pipeline filled on account
of not knowing what's going to be executed next. That could cost
quite a lot.

>> 4) What are the syntax differences between console code written for Linux
>>    versus Unix (I don't have easy access to a Unix machine)?
>
> absolutely nothing.  Linux _is_ UNIX....

Strictly speaking, that's false, but it's certainly the least
misleading answer. :-)

--
g



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.