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: Thu, 25 Jun 2015 00:17:09 +0100 Message-ID: References: <558A0950.2000501@cs.ucla.edu> <2nbng5pou7.fsf@fencepost.gnu.org> <558AB250.5040908@cs.ucla.edu> <83vbeddu4d.fsf@gnu.org> <83si9hdthc.fsf@gnu.org> <83mvzoex5g.fsf@gnu.org> 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 1435187900 15515 80.91.229.3 (24 Jun 2015 23:18:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Jun 2015 23:18:20 +0000 (UTC) Cc: 20887@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 25 01:18:12 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 1Z7tvm-0007Km-P4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Jun 2015 01:18:10 +0200 Original-Received: from localhost ([::1]:53247 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7tvl-0007wc-SR for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Jun 2015 19:18:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7tvi-0007wQ-FH for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2015 19:18:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7tvf-0004ii-8m for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2015 19:18:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7tvf-0004ie-4m for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2015 19:18:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z7tve-0006SJ-N7 for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2015 19:18: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 23:18: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.143518783924754 (code B ref 20887); Wed, 24 Jun 2015 23:18:02 +0000 Original-Received: (at 20887) by debbugs.gnu.org; 24 Jun 2015 23:17:19 +0000 Original-Received: from localhost ([127.0.0.1]:56735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z7tuw-0006RA-7z for submit@debbugs.gnu.org; Wed, 24 Jun 2015 19:17:18 -0400 Original-Received: from mail-lb0-f172.google.com ([209.85.217.172]:34285) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z7tut-0006Qt-TA for 20887@debbugs.gnu.org; Wed, 24 Jun 2015 19:17:16 -0400 Original-Received: by lbnk3 with SMTP id k3so35342708lbn.1 for <20887@debbugs.gnu.org>; Wed, 24 Jun 2015 16:17:10 -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=816C17x7kB/hdWNgPiG2A3aZiWFIHgPZeXILxRXIqvY=; b=NMqpnsBdcAkPX90A25a8B4DGy01/StBIIDXL9Q+1yw5zv7OpWV4HSQzgUJmYyngx3P QW7o14iWrRl4wcuPdbffN8B5DhL74chB3m6gPIpUei/pS4ot3gZVg9TIMYinDPTzyCf+ 6BQwPuNb2y3oWsTLSPNkM9GKh49Zvx1+ziqUMmoXI1tSy3sX/aoGKWGRIjPEQxyffuqC c2xLg8XNWniptpY5Hqe0Wit3qYB7xxFsCLm2/8hG9aPRin0QBVAnwF7OwmUpWu7O310x ubgjEpuKIf8Nc6WJc72dUFtUODXErPc0tEeqyMLpvt4SuwkLl3/PSvOFNLyPz86FStYh 2F9w== X-Received: by 10.112.126.101 with SMTP id mx5mr37502936lbb.35.1435187829993; Wed, 24 Jun 2015 16:17:09 -0700 (PDT) Original-Received: by 10.25.214.133 with HTTP; Wed, 24 Jun 2015 16:17:09 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: bhiPoPPr2ivGP202Wa881LFavjE 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:104318 Archived-At: 2015-06-24 21:05 GMT+01:00 Artur Malabarba : >> Why only the second? All you care about is decomposition, that is, >> you need only loop over characters that have a non-nil value in the >> decomposition property. You will see in characters.el how you can use >> map-char-table over a char-table loaded from uni-decomposition.el >> (similar to what we do there with uni-bidi et.). Won't that be much >> faster? >> >> (I didn't actually try that, so perhaps I'm talking nonsense.) > > You're perfectly correct. I wasn't aware there's a char table for the > decomposition property (or any of the char properties for that > matter). Thanks, I'll add it in. Actually, I spoke (and pushed) too soon. I have no idea how this works The following code (map-char-table (lambda (idx dec) (message "%S %S" idx dec)) (unicode-property-table-internal 'decomposition)) calls the function a measly total of 100 times. The idx values are things like below (which I understand), but the dec values are HUGE strings (too big to post here, most of their content is the ^@ char) which make no sense to me. Am I using this wrong? (128 . 255) (256 . 383) (384 . 511) (512 . 639) (640 . 767) (768 . 895) (896 . 1023) (1024 . 1151) (1152 . 1279)