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#16800: 24.3; flyspell works slow on very short words at the end of big file Date: Sun, 09 Mar 2014 20:24:33 +0200 Message-ID: <8361nnp6vy.fsf@gnu.org> References: <20140223195659.GA23581@openwall.com> <20140223230251.GA30257@openwall.com> <20140224160317.GA2475@openwall.com> <20140226203202.GA23749@agmartin.aq.upm.es> <20140228114545.GA8669@agmartin.aq.upm.es> <83fvn3wj3m.fsf@gnu.org> <20140301214427.GA14106@openwall.com> <83ob1ptfr3.fsf@gnu.org> <20140309180244.GA24331@openwall.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1394389513 21449 80.91.229.3 (9 Mar 2014 18:25:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Mar 2014 18:25:13 +0000 (UTC) Cc: 16800@debbugs.gnu.org To: Aleksey Cherepanov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 09 19:25:20 2014 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 1WMiPW-0002GJ-Um for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Mar 2014 19:25:19 +0100 Original-Received: from localhost ([::1]:45082 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMiPW-0004IM-HA for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Mar 2014 14:25:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMiPN-00048b-Lh for bug-gnu-emacs@gnu.org; Sun, 09 Mar 2014 14:25:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WMiPF-0004O8-Vn for bug-gnu-emacs@gnu.org; Sun, 09 Mar 2014 14:25:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMiPF-0004Nz-TW for bug-gnu-emacs@gnu.org; Sun, 09 Mar 2014 14:25:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WMiPF-0001ww-Nk for bug-gnu-emacs@gnu.org; Sun, 09 Mar 2014 14:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Mar 2014 18:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16800 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16800-submit@debbugs.gnu.org id=B16800.13943894957480 (code B ref 16800); Sun, 09 Mar 2014 18:25:01 +0000 Original-Received: (at 16800) by debbugs.gnu.org; 9 Mar 2014 18:24:55 +0000 Original-Received: from localhost ([127.0.0.1]:58344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WMiP8-0001wZ-V6 for submit@debbugs.gnu.org; Sun, 09 Mar 2014 14:24:55 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:55937) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WMiP6-0001wQ-5t for 16800@debbugs.gnu.org; Sun, 09 Mar 2014 14:24:53 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0N2600900LMHYB00@a-mtaout22.012.net.il> for 16800@debbugs.gnu.org; Sun, 09 Mar 2014 20:24:50 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N26009NILTEWO20@a-mtaout22.012.net.il>; Sun, 09 Mar 2014 20:24:50 +0200 (IST) In-reply-to: <20140309180244.GA24331@openwall.com> 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:86688 Archived-At: > Date: Sun, 9 Mar 2014 22:02:44 +0400 > From: Aleksey Cherepanov > Cc: 16800@debbugs.gnu.org > > On Sun, Mar 09, 2014 at 06:36:55PM +0100, Agustin Martin wrote: > > 2014-03-02 4:56 GMT+01:00 Eli Zaretskii : > > > > > > Date: Sun, 2 Mar 2014 01:44:27 +0400 > > > > From: Aleksey Cherepanov > > > > Cc: Agustin Martin , 16800@debbugs.gnu.org > > > > > > > > We could try to limit execution time. Though checks for that could > > > > slow down the search. > > > > > > Exactly. > > > > > > > I see other problem with that, it is not deterministic, since the limit > > depends on system load. > > We may have limit by time with additional limit for lowest radius so > the search works not less than for N chars and if it looks further > then not more than M milliseconds. FWIW, I think this would be over-engineering. Emacs never does anything like that, we always have simple, deterministic limits in terms of characters or lines. This makes it easy for users to customize their sessions in a way whose effect is simple to understand and predictable.