From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Raeburn Newsgroups: gmane.lisp.guile.devel Subject: Re: `SCM_MAKE_CHAR ()' signedness issue Date: Sun, 16 Aug 2009 18:25:49 -0400 Message-ID: <3D3E5AEF-F1A0-456C-8652-5F040228F176@raeburn.org> References: <87y6pll21u.fsf@gnu.org> <455025BA-B847-4CE3-A81E-785A48ADD1D3@raeburn.org> <873a7rs8yj.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1250461589 11365 80.91.229.12 (16 Aug 2009 22:26:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Aug 2009 22:26:29 +0000 (UTC) Cc: guile-devel@gnu.org To: =?ISO-8859-1?Q?Ludovic_Court=E8s?= Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Aug 17 00:26:22 2009 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1McoBA-000810-EG for guile-devel@m.gmane.org; Mon, 17 Aug 2009 00:26:20 +0200 Original-Received: from localhost ([127.0.0.1]:48581 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McoB8-0008U2-Lw for guile-devel@m.gmane.org; Sun, 16 Aug 2009 18:26:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1McoB1-0008Tm-E2 for guile-devel@gnu.org; Sun, 16 Aug 2009 18:26:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1McoAw-0008TB-6t for guile-devel@gnu.org; Sun, 16 Aug 2009 18:26:10 -0400 Original-Received: from [199.232.76.173] (port=36114 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McoAw-0008T4-1k for guile-devel@gnu.org; Sun, 16 Aug 2009 18:26:06 -0400 Original-Received: from splat.raeburn.org ([69.25.196.39]:34230 helo=raeburn.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1McoAh-000534-5c; Sun, 16 Aug 2009 18:26:02 -0400 Original-Received: from [10.0.0.172] (squish.raeburn.org [10.0.0.172]) by raeburn.org (8.14.3/8.14.1) with ESMTP id n7GMPn8U019779; Sun, 16 Aug 2009 18:25:49 -0400 (EDT) In-Reply-To: <873a7rs8yj.fsf@gnu.org> X-Mailer: Apple Mail (2.936) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:9128 Archived-At: On Aug 16, 2009, at 18:13, Ludovic Court=E8s 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 =20 just get a declaration and make a function call. There would be a =20 performance hit from doing the function calls all the time, but I =20 think it would work. In fact, there are cases where the argument to =20 SCM_MAKE_CHAR is a function invocation, where it might be beneficial =20 for performance to not compute the value twice. Ken=