[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Re: time in gcc to call a pointer to a function

From: Camm Maguire
Subject: [Gcl-devel] Re: time in gcc to call a pointer to a function
Date: 25 Mar 2006 17:41:36 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!  Still looking into this, but it does appear that the
example I sent had some gcc code elimination.  If so, this still
leaves the issue of mutual recursion -- how important is this?  what
if function calls are somewhat slowed to attain it -- how much would
be worth it if any?

Take care,

Robert Boyer <address@hidden> writes:

> I seem to recall a conversation years ago in which Schelter said that for
> gcc, the difference in time between (1) a function call of a pointer to a
> function and (2) a function call of a function was nothing more than one
> instruction, the time it takes to fetch that to which the pointer pointed.
> Of course, my memory could be wrong, etc., etc.  But this seems still
> plausible to me.  So I'd be most happy to be re-educated.
> Bob

Camm Maguire                                            address@hidden
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]