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

Re: Couple things...

This page is part of the web mail archives of SRFI 50 from before July 7th, 2015. The new archives for SRFI 50 contain all messages, not just those from before July 7th, 2015.



Michael Sperber wrote:

Felix will point out that allowing forms to be functions is a
performance consideration.

GCC and probably other compilers support inline functions for C:

static inline int f(int x) { return x*x; }

For compilers that don't support inline, just do:
#define inline /* nothing */
--
	--Per Bothner
per@xxxxxxxxxxx   http://per.bothner.com/