From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.help Subject: Re: Relative performance of text-properties search functions Date: Fri, 24 May 2013 16:10:04 +0200 Message-ID: <87vc68bhab.fsf@gmail.com> References: <87fvxdsxg0.fsf@gmail.com> <83txltsnrq.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1369404930 18364 80.91.229.3 (24 May 2013 14:15:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 May 2013 14:15:30 +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 16:15:29 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 1UfsmC-0004Xl-Ff for geh-help-gnu-emacs@m.gmane.org; Fri, 24 May 2013 16:15:24 +0200 Original-Received: from localhost ([::1]:39755 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfsmB-00070W-Ug for geh-help-gnu-emacs@m.gmane.org; Fri, 24 May 2013 10:15:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ufsly-0006zL-Bm for help-gnu-emacs@gnu.org; Fri, 24 May 2013 10:15:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ufslw-0006cP-L6 for help-gnu-emacs@gnu.org; Fri, 24 May 2013 10:15:10 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:39222) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ufslw-0006bz-FU for help-gnu-emacs@gnu.org; Fri, 24 May 2013 10:15:08 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ufslr-0004IT-G4 for help-gnu-emacs@gnu.org; Fri, 24 May 2013 16:15:03 +0200 Original-Received: from e178061221.adsl.alicedsl.de ([85.178.61.221]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 May 2013 16:15:03 +0200 Original-Received: from tjolitz by e178061221.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 May 2013 16:15:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e178061221.adsl.alicedsl.de User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:eG2IuJKN4ILyEMFuozaqHeTz/6Y= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:91022 Archived-At: 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. -- cheers, Thorsten