From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.bugs Subject: bug#20887: 'make bootstrap' now verrrry slow due to recent isearch changes Date: Wed, 24 Jun 2015 15:28:02 +0100 Message-ID: References: <558A0950.2000501@cs.ucla.edu> <2nbng5pou7.fsf@fencepost.gnu.org> <558AB250.5040908@cs.ucla.edu> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1435156161 25217 80.91.229.3 (24 Jun 2015 14:29:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Jun 2015 14:29:21 +0000 (UTC) Cc: 20887@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 24 16:29:13 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 1Z7lfs-00021n-7V for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Jun 2015 16:29:12 +0200 Original-Received: from localhost ([::1]:50996 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7lfr-0004gp-Kx for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Jun 2015 10:29:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7lfn-0004gY-Kq for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2015 10:29:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7lfi-00078k-Hb for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2015 10:29:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7lfi-00078S-Ek for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2015 10:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z7lfi-0001HF-52 for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2015 10:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Jun 2015 14:29: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.14351560904843 (code B ref 20887); Wed, 24 Jun 2015 14:29:02 +0000 Original-Received: (at 20887) by debbugs.gnu.org; 24 Jun 2015 14:28:10 +0000 Original-Received: from localhost ([127.0.0.1]:56556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z7ler-0001G1-NJ for submit@debbugs.gnu.org; Wed, 24 Jun 2015 10:28:09 -0400 Original-Received: from mail-lb0-f182.google.com ([209.85.217.182]:36222) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z7leq-0001Ff-3P for 20887@debbugs.gnu.org; Wed, 24 Jun 2015 10:28:08 -0400 Original-Received: by lbbpo10 with SMTP id po10so27462264lbb.3 for <20887@debbugs.gnu.org>; Wed, 24 Jun 2015 07:28:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=/pn189qxWDA9Z9fhn/pWnoUKwmo6w95BbGPmDv5FckM=; b=pOUjZW2PEY5Bk+qYW+ESoG1WRnWZwWBqJPUl7/t3dIL+Vx/mZ0QOQZe3PmWyFb9KQM 54KAfpvEfeKdiNB8y+oG9iouPW0JmGFy+1uFfPDNJ0oGVdWULVr2qIN12FEvMe1Tnb9B SBEhLFS7fuyWjDvpIjV1gQGueKkih7YH+ZSNB+fHsQZZ2HnvAYy6TDv/bxDaztjAyWH0 L1GS/e2q4VWaXEhqsRrTbQryPjMkOsiODH6glLLwYueh23wsJwMRjiAiQt9W20jZgoHr GAh63/87hsE3nCiems3bQjg7RHT88j5bngXA66wGb2FZYw23vd5IVnKEfqVtgG6P2A9M fUkQ== X-Received: by 10.152.179.234 with SMTP id dj10mr33794096lac.73.1435156082146; Wed, 24 Jun 2015 07:28:02 -0700 (PDT) Original-Received: by 10.25.214.133 with HTTP; Wed, 24 Jun 2015 07:28:02 -0700 (PDT) In-Reply-To: <558AB250.5040908@cs.ucla.edu> X-Google-Sender-Auth: M5-FDhiNSn_HTVTAZbkzt5tncbo 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:104300 Archived-At: 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.