[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs rewrite in a maintainable language
From: |
David Kastrup |
Subject: |
Re: Emacs rewrite in a maintainable language |
Date: |
Tue, 13 Oct 2015 12:13:24 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
John Wiegley <address@hidden> writes:
>>>>>> Ken Raeburn <address@hidden> writes:
>
>>> The main reason I stopped is that it didn't help performance enough. The
>>> slowness imposed by constantly looking up symbol names at global scope, due
>>> to dynamic binding, dominated the profiling results.
>
>> Do you think the introduction of lexical binding support changes the balance
>> much? (Or was your work after lexical binding was added?)
>
> I think it should really help performance, but I haven't measured yet.
I don't think it will really help performance all that much if you
measure it now since the inescapable cost of establishing and resolving
dynamic bindings at every let or function boundary has both made certain
optimizations mostly pointless as well as lending preference to a
programming style using iteration and setq rather than recursive
techniques.
Also, code like
`(lambda (...) ...)
does not magically rewrite itself into a compiled form just because
Elisp now got closures.
So there is a lot of trickle-down into the code base to wait for until
one can really make a statement. And then the other reference point is
gone.
--
David Kastrup
- Re: emacs IDE features, (continued)
- Re: Emacs rewrite in a maintainable language, John Wiegley, 2015/10/13
- Re: Emacs rewrite in a maintainable language, Richard Stallman, 2015/10/13
- Re: Emacs rewrite in a maintainable language, John Wiegley, 2015/10/13
- Re: Emacs rewrite in a maintainable language, Camm Maguire, 2015/10/15
- Re: Emacs rewrite in a maintainable language, Alexis, 2015/10/12
- Re: Emacs rewrite in a maintainable language, Daniel Colascione, 2015/10/12
- Re: Emacs rewrite in a maintainable language, Ken Raeburn, 2015/10/13
- Re: Emacs rewrite in a maintainable language, John Wiegley, 2015/10/13
- Re: Emacs rewrite in a maintainable language,
David Kastrup <=
- Re: Emacs rewrite in a maintainable language, Daniel Colascione, 2015/10/13
- Re: Emacs rewrite in a maintainable language, Stephen J. Turnbull, 2015/10/15
- Re: Emacs rewrite in a maintainable language, Oleh Krehel, 2015/10/15
- Re: Emacs rewrite in a maintainable language, David Kastrup, 2015/10/12
- Re: Emacs rewrite in a maintainable language, Paul Eggert, 2015/10/15
- Re: Emacs rewrite in a maintainable language, Oleh Krehel, 2015/10/15
- Re: Emacs rewrite in a maintainable language, Eli Zaretskii, 2015/10/12
- Re: Emacs rewrite in a maintainable language, David Kastrup, 2015/10/15
- Re: Emacs rewrite in a maintainable language, Stephen J. Turnbull, 2015/10/15
- Re: Emacs rewrite in a maintainable language, Marcus Harnisch, 2015/10/13