From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Le Wang Newsgroups: gmane.emacs.devel Subject: lexical-binding causes a lot more GC, why? Date: Wed, 28 Oct 2015 11:12:14 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1149ae9a8b330005232b9ed8 X-Trace: ger.gmane.org 1446045141 11240 80.91.229.3 (28 Oct 2015 15:12:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Oct 2015 15:12:21 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 28 16:12:21 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZrSOh-0003Eo-QF for ged-emacs-devel@m.gmane.org; Wed, 28 Oct 2015 16:12:19 +0100 Original-Received: from localhost ([::1]:38677 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrSOh-0003ti-2i for ged-emacs-devel@m.gmane.org; Wed, 28 Oct 2015 11:12:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrSOd-0003ta-GN for emacs-devel@gnu.org; Wed, 28 Oct 2015 11:12:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrSOc-0006Mq-Ne for emacs-devel@gnu.org; Wed, 28 Oct 2015 11:12:15 -0400 Original-Received: from mail-qk0-x22e.google.com ([2607:f8b0:400d:c09::22e]:33673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrSOc-0006Mm-JH for emacs-devel@gnu.org; Wed, 28 Oct 2015 11:12:14 -0400 Original-Received: by qkgc186 with SMTP id c186so1166034qkg.0 for ; Wed, 28 Oct 2015 08:12:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=t5PIAP3yu04l2N7VOAAYVSVp8vNPTenT9PAdGJsi4MU=; b=JBg7n0ckLg6UNUDNTm3haUXZJL5b9+VTNciAta1VMIqitaVpLegfXOgAOHSn6vbGnQ ++yNZguJuLiRET9hComdfJSdNXbSoPd5Vq+RPMBgCsCZy0rQxhz9tuog7GlrPR7/oUML nh3onAV/4VIF6JmAkkl7KdryZHOD0QR0JzjR248ewCZ1MBvI2/VwKrsCFsxd+S4P5hQb w/SYHhC5TsO2n7q3eaAS1vgkeUchiROP0ZaBE/w0MxHgizOzhJD/AlPFb5ZpaO6vTrJS tBwlR3kcckIq1EYT+lGL2k1lW+hNcAhNOrUIJP1KVwpzoJtqwqYwNtvx10QcTwXy3P10 rXtg== X-Received: by 10.55.197.216 with SMTP id k85mr57332551qkl.77.1446045134040; Wed, 28 Oct 2015 08:12:14 -0700 (PDT) Original-Received: by 10.55.77.207 with HTTP; Wed, 28 Oct 2015 08:12:14 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c09::22e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:192798 Archived-At: --001a1149ae9a8b330005232b9ed8 Content-Type: text/plain; charset=UTF-8 Hi all, We found, while doing optimizations in flx ( https://github.com/lewang/flx/pull/76#issuecomment-151689064) that enabling lexical-binding caused a lot of GC runs. I thought lexical-binding should always result in perf gains, does anyone know why this could be happening? -- Le --001a1149ae9a8b330005232b9ed8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all,

We found, while doing opti= mizations in flx (https://github.com/lewang/flx/pull/76#issuecomment-15168906= 4) that enabling lexical-binding caused a lot of GC runs.
I thought lexical-binding should always result in perf gains, d= oes anyone know why this could be happening?

--
Le
--001a1149ae9a8b330005232b9ed8--