From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Relative performance of text-properties search functions Date: Fri, 24 May 2013 18:27:37 +0300 Message-ID: <83a9nks8ie.fsf@gnu.org> References: <87fvxdsxg0.fsf@gmail.com> <83txltsnrq.fsf@gnu.org> <87vc68bhab.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1369409286 9113 80.91.229.3 (24 May 2013 15:28:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 May 2013 15:28:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 24 17:28:05 2013 Return-path: Envelope-to: geh-help-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 1UftuW-0007kg-JU for geh-help-gnu-emacs@m.gmane.org; Fri, 24 May 2013 17:28:04 +0200 Original-Received: from localhost ([::1]:56175 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UftuW-0008S7-4r for geh-help-gnu-emacs@m.gmane.org; Fri, 24 May 2013 11:28:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UftuB-0008C1-4J for help-gnu-emacs@gnu.org; Fri, 24 May 2013 11:27:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uftu5-0007g9-UL for help-gnu-emacs@gnu.org; Fri, 24 May 2013 11:27:43 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:53290) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uftu5-0007fq-Ba for help-gnu-emacs@gnu.org; Fri, 24 May 2013 11:27:37 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MNB009006OBJU00@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Fri, 24 May 2013 18:27:35 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MNB0091S6XZJ030@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Fri, 24 May 2013 18:27:35 +0300 (IDT) In-reply-to: <87vc68bhab.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91027 Archived-At: > From: Thorsten Jolitz > Date: Fri, 24 May 2013 16:10:04 +0200 > > Eli Zaretskii writes: > > >> From: Thorsten Jolitz > >> Date: Thu, 23 May 2013 14:16:47 +0200 > >> > >> the right thing to do (from a performance point of view) in a case where > >> at the end of each outline (or org-mode) headline in a buffer a > >> replacing display spec should be inserted, and then updated many times > >> afterwards (either on user demand or via a visibility-change hook): > > > > Beware: too many replacing display specs will slow down redisplay in > > Emacs 24.1 and later. If you have alternatives, consider them first. > > I can imagine that in a .emacs with thousands of lines and hundreds of > headllines, redisplay of some headline cookies with every visibility > change will make Emacs work hard. You were talking about outline or org-mode, so how is .emacs relevant?