[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation to native

From: Matthew Mundell
Subject: Re: Compilation to native
Date: 22 Mar 2004 23:44:07 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Juri Linkov <address@hidden> writes:

> Richard Stallman <address@hidden> writes:
> > I don't think that a speedup of less than a factor of 2 would be worth
> > installing something that might take substantial maintenance effort.
> Hmm, I expected more speedup given that it compiles to machine code.

I expected less, given that the generated code does mostly what the
compiled byte interpreter does, saving only on the time taken to loop
through the byte code.

> Anyhow, while jit compilation of Emacs bytecode to native code would
> be a far-reaching goal, the most urgent issue is with CCL programs.
> Currently, CCL programs are unbearable slow.  For example, opening
> a 10MB UTF-8 file on a fast machine takes 5 min, while opening it
> without conversion is performed instantly.

I only wondered why the TODO entry favoured CCL, as it was simpler to
try the byte code first.  The changes to function calling required for
the compiled byte code would count towards a similar effort for CCL.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]