[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12033: closed (Re: bug#12033: format should be faster)
From: |
Ludovic Courtès |
Subject: |
bug#12033: closed (Re: bug#12033: format should be faster) |
Date: |
Tue, 21 Aug 2012 15:40:42 +0200 |
User-agent: |
Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.1 (gnu/linux) |
Hi,
Noah Lavine <address@hidden> 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, ‘define-inlinable’ 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 ‘format’ were defined with ‘define-inlinable’ (which it cannot
currently, because rest arguments aren’t supported–which should be
fixed), then peval could specialize the ‘format’ code at the call site.
I wonder how far it’d go, though.
Ludo’.
- bug#12033: format should be faster, Ludovic Courtès, 2012/08/18
- bug#12033: format should be faster, nalaginrut, 2012/08/20
- bug#12033: format should be faster, Ludovic Courtès, 2012/08/20
- Message not available
- Message not available
- bug#12033: closed (Re: bug#12033: format should be faster), Ludovic Courtès, 2012/08/20
- bug#12033: closed (Re: bug#12033: format should be faster), nalaginrut, 2012/08/20
- bug#12033: closed (Re: bug#12033: format should be faster), Noah Lavine, 2012/08/20
- bug#12033: closed (Re: bug#12033: format should be faster), Ian Price, 2012/08/20
- bug#12033: closed (Re: bug#12033: format should be faster), Ludovic Courtès, 2012/08/21
- bug#12033: closed (Re: bug#12033: format should be faster), Noah Lavine, 2012/08/21
- bug#12033: closed (Re: bug#12033: format should be faster),
Ludovic Courtès <=
- bug#12033: closed (Re: bug#12033: format should be faster), Andy Wingo, 2012/08/21
- bug#12033: closed (Re: bug#12033: format should be faster), nalaginrut, 2012/08/22
- bug#12033: closed (Re: bug#12033: format should be faster), Ludovic Courtès, 2012/08/23