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#24012: 25.0.95; forward-comment backwards takes O(n^2) Date: Mon, 18 Jul 2016 05:36:10 +0300 Message-ID: <83zipf1xlx.fsf@gnu.org> References: <83poqc4g6m.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1468809444 10878 80.91.229.3 (18 Jul 2016 02:37:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Jul 2016 02:37:24 +0000 (UTC) Cc: 24012@debbugs.gnu.org To: Leo Liu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 18 04:37:13 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 1bOyQj-0005vg-4e for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Jul 2016 04:37:13 +0200 Original-Received: from localhost ([::1]:43975 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOyQi-0007m4-8c for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Jul 2016 22:37:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOyQc-0007ly-Vh for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2016 22:37:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bOyQY-0001Qu-PA for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2016 22:37:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42627) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOyQY-0001Qq-Lc for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2016 22:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bOyQY-00060T-GV for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2016 22:37: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: Mon, 18 Jul 2016 02:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24012 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24012-submit@debbugs.gnu.org id=B24012.146880938622831 (code B ref 24012); Mon, 18 Jul 2016 02:37:02 +0000 Original-Received: (at 24012) by debbugs.gnu.org; 18 Jul 2016 02:36:26 +0000 Original-Received: from localhost ([127.0.0.1]:54964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bOyPx-0005wB-Of for submit@debbugs.gnu.org; Sun, 17 Jul 2016 22:36:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bOyPw-0005vz-DM for 24012@debbugs.gnu.org; Sun, 17 Jul 2016 22:36:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bOyPl-0001Mh-UN for 24012@debbugs.gnu.org; Sun, 17 Jul 2016 22:36:17 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOyPl-0001MV-RH; Sun, 17 Jul 2016 22:36:13 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2312 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bOyPk-0006FH-1G; Sun, 17 Jul 2016 22:36:12 -0400 In-reply-to: (message from Leo Liu on Mon, 18 Jul 2016 08:15:44 +0800) 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:121204 Archived-At: > From: Leo Liu > Cc: 24012@debbugs.gnu.org > Date: Mon, 18 Jul 2016 08:15:44 +0800 > > On 2016-07-17 15:12 +0300, Eli Zaretskii wrote: > > Because search functions cannot really search backwards? > > But by changing the major mode to octave-mode you get a 12 times speedup > without doing anything. Profile it. One guess is that the different comment syntax somehow causes this. But that's a guess.