all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "John Wiegley" <johnw@newartisans.com>
To: Le Wang <l26wang@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: lexical-binding causes a lot more GC, why?
Date: Fri, 30 Oct 2015 12:07:12 -0700	[thread overview]
Message-ID: <m21tcc89b3.fsf@Vulcan.attlocal.net> (raw)
In-Reply-To: <CAM=K+iqdLk-mYqm36CGzu4o-at_s_CN5YC8BxiUek_Rh1Ex+6g@mail.gmail.com> (Le Wang's message of "Wed, 28 Oct 2015 11:12:14 -0400")

>>>>> Le Wang <l26wang@gmail.com> writes:

> I thought lexical-binding should always result in perf gains, does anyone
> know why this could be happening?

Hi Le, would it be possible to create a test that takes the memory-use-counts
before some activity, then after, with and without lexical-binding enabled, so
that we could fail if lexical-binding has bad behavior? I think that should be
more efficient, so I'd love to pin this down in an isolated case.

John



  reply	other threads:[~2015-10-30 19:07 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 [this message]
2015-10-30 21:14 ` Paul Eggert
2015-10-30 22:10   ` Artur Malabarba

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

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

  git send-email \
    --in-reply-to=m21tcc89b3.fsf@Vulcan.attlocal.net \
    --to=johnw@newartisans.com \
    --cc=emacs-devel@gnu.org \
    --cc=l26wang@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.