|
From: | Marco Scheurer |
Subject: | Re: HAVE_INLINE (Re: [gnugo-devel] engine/influence.c (and DFA)) |
Date: | Tue, 3 Sep 2002 20:03:12 +0200 |
On Tuesday, September 3, 2002, at 07:04 pm, Arend Bayer wrote:
On Tue, 3 Sep 2002, Marco Scheurer wrote:Speaking of micro optimizations and speed/space trade offs, I've been wondering...I've been wondering about using inline. I guess all compilers that we care much about support inline as an extension. Hence we could write a configure test to define HAVE_INLINE or s.th. (similar to HAVE_VARIADIC_...), and then do
Like loop unrolling, inlining functions can have adverse effect on the cache hit rate, and should be used only for small functions.
Marco Scheurer Sen:te, Lausanne, Switzerland http://www.sente.ch
[Prev in Thread] | Current Thread | [Next in Thread] |