guile-devel
[Top][All Lists]
Advanced

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

Re: `SCM_MAKE_CHAR ()' signedness issue


From: Ludovic Courtès
Subject: Re: `SCM_MAKE_CHAR ()' signedness issue
Date: Mon, 17 Aug 2009 10:26:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hi,

Ken Raeburn <address@hidden> writes:

> On Aug 16, 2009, at 18:13, Ludovic Courtès wrote:
>>> There's always the inline-function approach, too.
>>
>> Unfortunately no, because we're still not assuming `inline' keyword
>> support from the compiler.
>
> Right, but inline.h deals with that; if "inline" isn't supported you
> just get a declaration and make a function call.  There would be a
> performance hit from doing the function calls all the time,

Yes, I'm not sure that's something worth trying.

> In fact, there are cases where the argument to SCM_MAKE_CHAR is a
> function invocation, where it might be beneficial for performance to
> not compute the value twice.

Right, but I guess these could be avoided trivially.

Thanks,
Ludo'.





reply via email to

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