From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Overlays as an AA-tree Date: Mon, 13 Feb 2017 19:45:21 -0500 Message-ID: References: <87d1jylv43.fsf@fastmail.com> <87fujv64mn.fsf@hochschule-trier.de> <87fujvpkzc.fsf@fastmail.com> <87vasr5tqd.fsf@hochschule-trier.de> <87d1ex4kon.fsf@hochschule-trier.de> <87d1evod6x.fsf@fastmail.com> <877f53ftab.fsf@hochschule-trier.de> <878tpiqiuc.fsf@hochschule-trier.de> <87shnppspb.fsf@hochschule-trier.de> <87o9yc9v30.fsf@hochschule-trier.de> <87a89vaes3.fsf@hochschule-trier.de> <87efz7n0g5.fsf@fastmail.com> <877f4uah6i.fsf@hochschule-trier.de> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1487033136 15863 195.159.176.226 (14 Feb 2017 00:45:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 14 Feb 2017 00:45:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andreas Politz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 14 01:45:32 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cdRFL-0003ew-OM for ged-emacs-devel@m.gmane.org; Tue, 14 Feb 2017 01:45:31 +0100 Original-Received: from localhost ([::1]:60284 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdRFO-0004bo-Eb for ged-emacs-devel@m.gmane.org; Mon, 13 Feb 2017 19:45:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdRFH-0004bX-Db for emacs-devel@gnu.org; Mon, 13 Feb 2017 19:45:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdRFG-0001qa-Ff for emacs-devel@gnu.org; Mon, 13 Feb 2017 19:45:27 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39081) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdRFC-0001pT-4X; Mon, 13 Feb 2017 19:45:22 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cdRFB-0003I6-LS; Mon, 13 Feb 2017 19:45:21 -0500 In-reply-to: <877f4uah6i.fsf@hochschule-trier.de> (message from Andreas Politz on Mon, 13 Feb 2017 04:44:05 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:212356 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > On the other hand, the tree stays solid even with large numbers, > except for two notable cases: Continuously deleting at the beginning > or end of the buffer. In this case the overlays sooner or later all > linger at the same position and the tree slowly turns into a black > soup -- effectively a unordered, awkward to traverse list. Aren't there established ways to avoid this by reforming the tree? -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html.