[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling byte code to native
From: |
Matthew Mundell |
Subject: |
Re: Compiling byte code to native |
Date: |
02 Jun 2004 17:30:14 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Stefan Monnier <address@hidden> writes:
> > The native compilation effort introduced earlier this year is archived
> > at http://www.mundell.ukfsn.org/native. It can now compile all the
> > byte codes.
>
> The speedups are disappointing, but I'm not surprised: most byte-code
> operations end up calling non-trivial C functions.
>
> Maybe the results would be a bit more encouraging if you tried to compile
> lexbind byte-code (where local variables are kept on the byte-code stack
> rather than being varbound&varref'd).
This would be quite similar to compiling to a primitive, where the
arguments will have to be lexically scoped. It may show an
improvement over the standard byte-code, but the lexbind byte-code may
show a similar improvement.