From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: bug#12033: closed (Re: bug#12033: format should be faster) Date: Tue, 21 Aug 2012 15:40:42 +0200 Message-ID: <87obm4pdlx.fsf@gnu.org> References: <878vd9i651.fsf@gnu.org> <1343023866.4060.12.camel@Renee-SUSE.suse> <87boi5gpg0.fsf@gnu.org> <1345517459.5141.62.camel@Renee-SUSE.suse> <87ipccqxvq.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1345556513 25453 80.91.229.3 (21 Aug 2012 13:41:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Aug 2012 13:41:53 +0000 (UTC) Cc: 12033@debbugs.gnu.org, nalaginrut To: Noah Lavine Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Aug 21 15:41:51 2012 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T3oiN-0003W3-Fe for guile-bugs@m.gmane.org; Tue, 21 Aug 2012 15:41:51 +0200 Original-Received: from localhost ([::1]:49132 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3oiM-0005WI-3g for guile-bugs@m.gmane.org; Tue, 21 Aug 2012 09:41:50 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3oiG-0005W9-AA for bug-guile@gnu.org; Tue, 21 Aug 2012 09:41:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3oiF-0007TP-Fp for bug-guile@gnu.org; Tue, 21 Aug 2012 09:41:44 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59914) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3oiF-0007TH-CR for bug-guile@gnu.org; Tue, 21 Aug 2012 09:41:43 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T3oiY-0001hX-2B for bug-guile@gnu.org; Tue, 21 Aug 2012 09:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 21 Aug 2012 13:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12033 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 12033-submit@debbugs.gnu.org id=B12033.13455564666474 (code B ref 12033); Tue, 21 Aug 2012 13:42:02 +0000 Original-Received: (at 12033) by debbugs.gnu.org; 21 Aug 2012 13:41:06 +0000 Original-Received: from localhost ([127.0.0.1]:41227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T3ohe-0001gN-LT for submit@debbugs.gnu.org; Tue, 21 Aug 2012 09:41:06 -0400 Original-Received: from xanadu.aquilenet.fr ([88.191.123.111]:59160) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T3ohc-0001gF-DB for 12033@debbugs.gnu.org; Tue, 21 Aug 2012 09:41:05 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by xanadu.aquilenet.fr (Postfix) with ESMTP id 31E82249E; Tue, 21 Aug 2012 15:40:43 +0200 (CEST) Original-Received: from xanadu.aquilenet.fr ([127.0.0.1]) by localhost (xanadu.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZlK0kqa05wSK; Tue, 21 Aug 2012 15:40:43 +0200 (CEST) Original-Received: from pluto (unknown [193.50.110.192]) by xanadu.aquilenet.fr (Postfix) with ESMTPSA id E59792136; Tue, 21 Aug 2012 15:40:42 +0200 (CEST) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 5 Fructidor an 220 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: (Noah Lavine's message of "Tue, 21 Aug 2012 07:52:39 -0400") User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.1 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:6501 Archived-At: Hi, Noah Lavine skribis: > What I was hoping to do is have a macro that is also > identifier-syntax, so if format is used in a way that can't be > macroexpanded, it falls back to the procedure. I think I've seen an > example of this before, but I'm not sure where. Yes, =E2=80=98define-inlinable=E2=80=99 does that, for instance. [...] > However, I wonder if the partial evaluator would actually solve this > problem if it knew how to do cross-module inlining. That's another big > project, but it could be a way to solve this problem and keep format > as a function. If =E2=80=98format=E2=80=99 were defined with =E2=80=98define-inlinable=E2= =80=99 (which it cannot currently, because rest arguments aren=E2=80=99t supported=E2=80=93which sh= ould be fixed), then peval could specialize the =E2=80=98format=E2=80=99 code at th= e call site. I wonder how far it=E2=80=99d go, though. Ludo=E2=80=99.