From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#15294: 24.3.50; js2-mode parser is several times slower in lexical-binding mode Date: Sat, 05 Oct 2013 06:27:19 +0300 Message-ID: <524F8717.3090301@yandex.ru> References: <871u51ll93.fsf@yandex.ru> <87y56p78u5.fsf@yandex.ru> <524E2A1C.7000909@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1380943698 313 80.91.229.3 (5 Oct 2013 03:28:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Oct 2013 03:28:18 +0000 (UTC) Cc: 15294@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 05 05:28:21 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1VSIXT-0008WB-GP for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Oct 2013 05:28:19 +0200 Original-Received: from localhost ([::1]:50514 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSIXT-0005gt-27 for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Oct 2013 23:28:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSIXJ-0005gk-UE for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2013 23:28:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VSIXC-0002I6-F3 for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2013 23:28:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSIXC-0002Hz-9z for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2013 23:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VSIXB-0004X8-Sj for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2013 23:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Oct 2013 03:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15294 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15294-submit@debbugs.gnu.org id=B15294.138094364717385 (code B ref 15294); Sat, 05 Oct 2013 03:28:01 +0000 Original-Received: (at 15294) by debbugs.gnu.org; 5 Oct 2013 03:27:27 +0000 Original-Received: from localhost ([127.0.0.1]:55143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VSIWc-0004WL-QC for submit@debbugs.gnu.org; Fri, 04 Oct 2013 23:27:27 -0400 Original-Received: from mail-ee0-f42.google.com ([74.125.83.42]:53806) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VSIWb-0004WD-0e for 15294@debbugs.gnu.org; Fri, 04 Oct 2013 23:27:25 -0400 Original-Received: by mail-ee0-f42.google.com with SMTP id b45so2186002eek.1 for <15294@debbugs.gnu.org>; Fri, 04 Oct 2013 20:27:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=QwwVgcgFxa0F4Q155qq6NUvDmMjFSD7fszKE/YvZz4k=; b=b/LAVcwMrPho2ltcmaas7v5T+kVe3m44BcABUhJTVpf6N+SGfG5S5FTbC5zkEEPN19 5tGECCuP49bjbIK0C6MjB1UlVGedmLXjs+QMJN1t0XPK9z6O7gA82o2Gqy/yXKChUic+ 2iJmkXDHzZeq2DIm2VOl+AGBDo3YipAoQifxAIL2hcFBFajGxesrDvcy67NmWSaOnCCT 6u/rWJ8Skzj9mjG/YF3ka/RbwUVXisT8GQbKT8P2D4/PeQWKLbarNCsmY8DV6nKzhKC/ aFn/JlWkhrUb143Lap09TvumEGRc0wx5cxB23fHTmKiUmaabSGf8a+KrA3oHhWCkvBKJ JNkA== X-Received: by 10.14.5.3 with SMTP id 3mr150713eek.49.1380943644096; Fri, 04 Oct 2013 20:27:24 -0700 (PDT) Original-Received: from [192.168.10.2] (93-113-74.netrun.cytanet.com.cy. [93.109.113.74]) by mx.google.com with ESMTPSA id f49sm34857961eec.7.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Oct 2013 20:27:23 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:78935 Archived-At: On 04.10.2013 16:52, Stefan Monnier wrote: >> Not sure if I should close this issue now or at least wait until >> byte-compile--use-old-handlers is nil by default. > > Your call. I'm not completely sure when we should change it: setting it > to nil will mean that pretty much any file compiled with the new Emacs > won't run on older Emacsen. I think I'd like to see 24.4 release before > making the change. No problem, guess then I'll leave this open until then. I'll do the code reshuffling discussed earlier, but actually having a performance improvement will be a better reason to switch to lexical binding. > But please do set it in your .emacs ASAP so it gets wider testing. Good idea, done.