From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michal Newsgroups: gmane.emacs.help Subject: Re: deleting contents of an array. Date: Tue, 11 Mar 2008 14:50:18 +0100 Organization: education Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1205243672 31110 80.91.229.12 (11 Mar 2008 13:54:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Mar 2008 13:54:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 11 14:54:51 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JZ4vu-00079b-1n for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Mar 2008 14:54:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZ4vL-000689-JZ for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Mar 2008 09:53:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JZ4v3-00067W-HT for help-gnu-emacs@gnu.org; Tue, 11 Mar 2008 09:53:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JZ4v2-00066c-OO for help-gnu-emacs@gnu.org; Tue, 11 Mar 2008 09:53:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZ4v2-00066M-Km for help-gnu-emacs@gnu.org; Tue, 11 Mar 2008 09:53:28 -0400 Original-Received: from cg-01.tenbit.pl ([213.180.131.136] helo=tenbit.pl) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JZ4ux-0002oW-Kp for help-gnu-emacs@gnu.org; Tue, 11 Mar 2008 09:53:28 -0400 Original-Received: from [157.25.157.162] (account rabbit50 HELO localhost.localdomain) by tenbit.pl (CommuniGate Pro SMTP 4.1.8) with ESMTP id 77183473 for help-gnu-emacs@gnu.org; Tue, 11 Mar 2008 14:51:08 +0100 X-MAILER: KMail/1.7.1 In-Reply-To: ("Johan =?iso-8859-1?Q?Bockg=E5rd=22's?= message of "Tue\, 11 Mar 2008 14\:08\:41 +0100") User-Agent: mozilla news reader X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52253 Archived-At: bojohan+news@dd.chalmers.se (Johan Bockg=E5rd) writes: > Yes, but > > Insertion and deletion in a buffer must check all the markers and > relocate them if necessary. This slows processing in a buffer with > a large number of markers. For this reason, it is a good idea to > make a marker point nowhere if you are sure you don't need it any > more. Unreferenced markers are garbage collected eventually, but > until then will continue to use time if they do point somewhere. Johan, Thank You for suggestion Regards, Michal