guile-devel
[Top][All Lists]
Advanced

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

Re: SCM_CALL_N


From: Keisuke Nishida
Subject: Re: SCM_CALL_N
Date: Tue, 26 Jun 2001 23:36:34 +0900
User-agent: Wanderlust/2.4.1 (Stand By Me) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/21.0.103 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

At Tue, 26 Jun 2001 09:24:51 +0200 (MEST),
Dirk Herrmann wrote:
> 
> > Also, should we create a new functions scm_list_N, replacing
> > the existing macros SCM_LIST_N?
> 
> In the long term, yes, because we could use inlining.  I don't think,
> however, that we should actually replace the SCM_LIST_N macros now:  If we
> deprecate the old SCM_LIST_N macros, we can't use them in guile itself any
> more.  But, this will cause a performance degradation, since we can't make
> use of inlining yet.  We could, however, _add_ the functions to the
> interface.

At the present, the SCM_LIST_N macros use more than one scm_cons
or scm_cons2.  We could instead allocate new cells directly in the
new scm_list_N functions, which would cost no more than now.
What about that?

Keisuke



reply via email to

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