From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Overlays as an AA-tree Date: Tue, 20 Sep 2016 14:43:56 +0200 Message-ID: References: <87d1jylv43.fsf@fastmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1474375583 4558 195.159.176.226 (20 Sep 2016 12:46:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Sep 2016 12:46:23 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Joakim Jalap Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 20 14:46:18 2016 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 1bmKR6-0007Mi-MQ for ged-emacs-devel@m.gmane.org; Tue, 20 Sep 2016 14:46:08 +0200 Original-Received: from localhost ([::1]:34917 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmKQz-0007ZO-GO for ged-emacs-devel@m.gmane.org; Tue, 20 Sep 2016 08:46:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48333) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmKQj-0007V8-Tf for emacs-devel@gnu.org; Tue, 20 Sep 2016 08:45:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmKQg-0000kG-NI for emacs-devel@gnu.org; Tue, 20 Sep 2016 08:45:45 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:42361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmKQg-0000eZ-FQ for emacs-devel@gnu.org; Tue, 20 Sep 2016 08:45:42 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1bmKQU-00034A-JG; Tue, 20 Sep 2016 14:45:33 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEUOBQouFj2gSKplKnhQ IlVmBMMVAAACO0lEQVQ4jXVTbXbtIAjU3iwgXF1Aiy4gCguIyv7X9EZvmt72nMePfDACwyDOOXLO 6I/t3jlXnAvSYhcbMlTU0rAT/hnhRWQkUbxMBB8L2OdjSE2SJYglgC9g2naItJBKkCFNuxzfEdvp hbSeWqydzdUbQJkocjykbI0KPQ7vbttiMJTYUEPO/cffPYHtoc8UEPoGVAcktsLT3vy74CcUk8rC mW7E75NILCpBhcK4AI80DCJepTwqmmk/ubb57TsiQO2kO+KykEU35Pl6q45Eu/PQzykOvAP7Rg6t aDj+AOQbHlIm7+0GaKcJDYxMi9v9AuKsWmaToewfKYw5umkQ30vHlH0I+sihX3o7yU6kFj4BPIP6 /l0gMKZac/kEWygl/BVedKaclb80uYivxMZpmxPcltCcQvKGA8yA6fMHWFarKufOvADplbW/EB2D 4vMCxhCOdZ5jbZi6xp5mjQf3KtKzMWcjaY1aTOtKJUXJjizwRWrNgtpihSYYHBU5DJcqIKKvGugK SWAMPzVrLdYXgKq5EMU410QpWuhXH+CbyVswMsJ9jGJX5wnlaJ5vsRFSyVqcDTcMK2HNXguHZ7C5 ahuPHNAafJPVjAl2+lcqH3EMb8RNYnqlYm5Qf0CxFgFFGuuKLnW3ZhRAeOSeI7b3XFotwROqPNfG hjjGec8DS67WU+ecOtk4roiUUp+rbrVDBxA/7lQJ+60mXQb00TEl+XjNTq4RzqmnJeJjOiv/tgsA JZ3bt+7RDfzH/gFwZIIj2mwaOAAAAABJRU5ErkJggg== In-Reply-To: <87d1jylv43.fsf@fastmail.com> (Joakim Jalap's message of "Tue, 20 Sep 2016 12:32:28 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.224.195 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:207627 Archived-At: Joakim Jalap writes: > First I tried using the tree from intervals.c, but that seemed to be > very tightly bound to the implementation of text properties, so I gave > up on that idea. I seem to recall that somebody made the suggestion earlier to make overlays a special case of text properties, and then getting rid of most of the low-level overlay code. Text properties are already implemented pretty efficiently, I think? I don't know how feasible this is, though. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no