[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile performance - Ackermann function: way slower than emacs, slow
From: |
Andy Wingo |
Subject: |
Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled |
Date: |
Thu, 13 Aug 2009 00:28:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) |
Heya,
On Sat 08 Aug 2009 23:52, address@hidden (Ludovic Courtès) writes:
> Andy Wingo <address@hidden> writes:
>
>> Perhaps the deal is that 1+ is not being inlined. It seems to be calling
>> out to the 1+ procedure, which is a primitive, actually making it a
>> bit slower. I'll see what I can do.
>
> Currently, invoking subrs conses, which is Bad(TM).
Indeed.
> Code that keeps invoking `1+' and `1-' must suffer from this.
Not any more! There are add1 and sub1 instructions now.
A
--
http://wingolog.org/
- Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled, (continued)
- Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled, Marijn Schouten (hkBst), 2009/08/04
- Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled, Andy Wingo, 2009/08/05
- Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled, Ken Raeburn, 2009/08/05
- entering and leaving guile mode, and GC stack protection (was Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled), Ken Raeburn, 2009/08/06
- Re: entering and leaving guile mode, and GC stack protection, Andy Wingo, 2009/08/12
- Re: entering and leaving guile mode, and GC stack protection, Ludovic Courtès, 2009/08/14
Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled, Ludovic Courtès, 2009/08/08
- Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled,
Andy Wingo <=
Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled, Andy Wingo, 2009/08/05
Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled, Andy Wingo, 2009/08/05