unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Artur Malabarba <bruce.connor.am@gmail.com>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: lexical-binding causes a lot more GC, why?
Date: Fri, 30 Oct 2015 22:10:39 +0000	[thread overview]
Message-ID: <CAAdUY-JQYttngTYyLjTh4MxPpKYrm91ESic_4wefj9JZZs8aRQ@mail.gmail.com> (raw)
In-Reply-To: <5633DDD2.9080900@cs.ucla.edu>

[-- Attachment #1: Type: text/plain, Size: 447 bytes --]

On 30 Oct 2015 9:14 pm, "Paul Eggert" <eggert@cs.ucla.edu> wrote:
>
> On 10/28/2015 08:12 AM, Le Wang wrote:
>>
>>
>> I thought lexical-binding should always result in perf gains
>
>
> Isn't lexical binding implemented by passing around a list of bindings?
That might explain the performance problems you see. (Sorry, I haven't
looked at the actual code; this is just my vague recollection.)

I believe that's only the case for non compiled code.

[-- Attachment #2: Type: text/html, Size: 632 bytes --]

      reply	other threads:[~2015-10-30 22:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-28 15:12 lexical-binding causes a lot more GC, why? Le Wang
2015-10-30 19:07 ` John Wiegley
2015-10-30 21:14 ` Paul Eggert
2015-10-30 22:10   ` Artur Malabarba [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAdUY-JQYttngTYyLjTh4MxPpKYrm91ESic_4wefj9JZZs8aRQ@mail.gmail.com \
    --to=bruce.connor.am@gmail.com \
    --cc=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).