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#23967: 25.1.50; Slow compilation of ns-win.el Date: Sat, 16 Jul 2016 09:43:42 +0300 Message-ID: <83vb065bhd.fsf@gnu.org> References: <83bn21a8q2.fsf@gnu.org> <83inw88e3k.fsf@gnu.org> <87poqfega9.fsf@users.sourceforge.net> <83k2gn74dq.fsf@gnu.org> <87mvlie1vv.fsf@users.sourceforge.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1468651528 1411 80.91.229.3 (16 Jul 2016 06:45:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Jul 2016 06:45:28 +0000 (UTC) Cc: larsi@gnus.org, 23967@debbugs.gnu.org To: npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 16 08:45:17 2016 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 1bOJLh-0003Yx-8W for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Jul 2016 08:45:17 +0200 Original-Received: from localhost ([::1]:36172 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOJLg-0002xZ-BU for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Jul 2016 02:45:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOJLW-0002uB-5c for bug-gnu-emacs@gnu.org; Sat, 16 Jul 2016 02:45:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bOJLS-000119-F4 for bug-gnu-emacs@gnu.org; Sat, 16 Jul 2016 02:45:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOJLS-000113-Bv for bug-gnu-emacs@gnu.org; Sat, 16 Jul 2016 02:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bOJLS-0008OR-7n for bug-gnu-emacs@gnu.org; Sat, 16 Jul 2016 02:45: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: Sat, 16 Jul 2016 06:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23967 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23967-submit@debbugs.gnu.org id=B23967.146865146132201 (code B ref 23967); Sat, 16 Jul 2016 06:45:02 +0000 Original-Received: (at 23967) by debbugs.gnu.org; 16 Jul 2016 06:44:21 +0000 Original-Received: from localhost ([127.0.0.1]:53440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bOJKk-0008NG-Bm for submit@debbugs.gnu.org; Sat, 16 Jul 2016 02:44:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56076) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bOJKg-0008N0-5R for 23967@debbugs.gnu.org; Sat, 16 Jul 2016 02:44:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bOJKX-0000vd-0D for 23967@debbugs.gnu.org; Sat, 16 Jul 2016 02:44:08 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOJKK-0000uN-DU; Sat, 16 Jul 2016 02:43:52 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4153 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bOJKI-0004cI-B2; Sat, 16 Jul 2016 02:43:50 -0400 In-reply-to: <87mvlie1vv.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:121134 Archived-At: > From: npostavs@users.sourceforge.net > Cc: 23967@debbugs.gnu.org, larsi@gnus.org > Date: Fri, 15 Jul 2016 22:46:12 -0400 > > I finished writing the tests. It does pass with > http://www.unicode.org/Public/5.2.0/ucd/NormalizationTest.txt as was > claimed in the ucs-normalize.el file (except that some of the rule 2 > tests fail with that version, but that's only because version 5.2.0 has > less code points listed in Part 1). > > Here are the patches, first adds the test (I elided the content of > NormalizationTest.txt to save space), second is the optimization (same > as before, except I dropped the change from mapc to dolist, because some > benchmark-runs showed me that mapc is significantly faster when not > compiled). Thanks. Please push this to master, and please also mention NormalizationTest.txt in admin/notes/unicode, as one more file that needs to be imported from each new Unicode standard, followed by running this particular test, to verify compliance.