From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20887: 'make bootstrap' now verrrry slow due to recent isearch changes Date: Wed, 24 Jun 2015 18:05:38 +0300 Message-ID: <83vbeddu4d.fsf@gnu.org> References: <558A0950.2000501@cs.ucla.edu> <2nbng5pou7.fsf@fencepost.gnu.org> <558AB250.5040908@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1435158384 4780 80.91.229.3 (24 Jun 2015 15:06:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Jun 2015 15:06:24 +0000 (UTC) Cc: 20887@debbugs.gnu.org, eggert@cs.ucla.edu To: bruce.connor.am@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 24 17:06:14 2015 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 1Z7mFh-0006uG-DY for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Jun 2015 17:06:13 +0200 Original-Received: from localhost ([::1]:51183 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7mFg-0003xy-K4 for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Jun 2015 11:06:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7mFc-0003xf-Jt for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2015 11:06:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7mFW-0003dz-Rl for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2015 11:06:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7mFW-0003dv-OR for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2015 11:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z7mFW-00029v-7a for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2015 11:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Jun 2015 15:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20887 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20887-submit@debbugs.gnu.org id=B20887.14351583588290 (code B ref 20887); Wed, 24 Jun 2015 15:06:02 +0000 Original-Received: (at 20887) by debbugs.gnu.org; 24 Jun 2015 15:05:58 +0000 Original-Received: from localhost ([127.0.0.1]:56572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z7mFR-00029c-RE for submit@debbugs.gnu.org; Wed, 24 Jun 2015 11:05:58 -0400 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:58452) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z7mFP-00029P-02 for 20887@debbugs.gnu.org; Wed, 24 Jun 2015 11:05:56 -0400 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NQG00H00EVP9M00@mtaout27.012.net.il> for 20887@debbugs.gnu.org; Wed, 24 Jun 2015 18:01:47 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NQG00BXWF2YD360@mtaout27.012.net.il>; Wed, 24 Jun 2015 18:01:47 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il 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:104303 Archived-At: > Date: Wed, 24 Jun 2015 15:28:02 +0100 > From: Artur Malabarba > Cc: 20887@debbugs.gnu.org > > Yes, I see why that would cause a problem. > Does anyone have any idea how we could approach this, then? > > That slow piece code has no need to be compiled so early, but I don't > know how to avoid that. I can move it to another file, but then > isearch will need to require that file anyway so the delay will still > be there. > > Options I see > 1. I could move the code to a separate file, and then only require > that file as part of the isearch command, so it wouldn't be loaded at > compile time. > 2. I could just save that char-table directly in the file. It would be > large, but it should speed up the loading by a lot. I think 1 is better. Make that variable autoloaded in isearch.el, and the problem should be solved.