From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: MPS: weak hash tables Date: Sun, 07 Jul 2024 18:34:27 +0300 Message-ID: <86y16d1aik.fsf@gnu.org> References: <878qyeffjh.fsf@localhost> <8734olzlws.fsf@gmail.com> <867cdx32e3.fsf@gnu.org> <864j912t0s.fsf@gnu.org> <86zfqt1cxa.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31751"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pipcet@protonmail.com, eller.helmut@gmail.com, yantar92@posteo.net, emacs-devel@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 07 17:35:17 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sQTv3-0007uv-CY for ged-emacs-devel@m.gmane-mx.org; Sun, 07 Jul 2024 17:35:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQTuJ-0003L1-NX; Sun, 07 Jul 2024 11:34:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sQTuI-0003Kq-Q8 for emacs-devel@gnu.org; Sun, 07 Jul 2024 11:34:30 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sQTuI-0004Ir-BC; Sun, 07 Jul 2024 11:34:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=zrG44Gxr5OCJXW8iuLvpYPb+cmyhiPsSUy3PSfC0Bu4=; b=oiv3FXkNjzkTqRz27BIt kz0WP3Mc7PC+Vbp3GXcGGLMAMepsTyIsIGKNsQQxqQhY2qtZkkCimbfBo/dbtvgBj2Mp6Ai8w+oWh JUsl453MgUAybHfFBa/yxS2/ESoPWbfE84gQ/beWf7lLr3goB7CG4/Ue7KWn1lpnRMpjhXqSDrh7N JY+RK3TurVHGjZtYioGrbo0KFO48DWi9XExFScPE3Zuz4V2ksrdkLfXT1xVawlOUgl8WYp+RM1iPh Y96LPfFsl6ebzIR4RQPCPUPiujovAb/yAh1hSNUwSbM0tHFV76F4Xqj0YFe0Cj4WpYhIjHSdRhquS WE5yGK/dJ32HpQ==; In-Reply-To: (message from Gerd =?utf-8?Q?M=C3=B6llmann?= on Sun, 07 Jul 2024 16:52:15 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:321495 Archived-At: > From: Gerd Möllmann > Cc: pipcet@protonmail.com, eller.helmut@gmail.com, yantar92@posteo.net, > emacs-devel@gnu.org > Date: Sun, 07 Jul 2024 16:52:15 +0200 > > Eli Zaretskii writes: > > >> It starts with the root of a tree becoming unreachable, say a string's > >> intervals become unreachable because the string is unreachable. By that, > >> the root's children are unreachable and so on. > > > > I thought about the case where the string or the buffer are still > > alive, but some of their intervals are no longer used because of > > changes in the text properties. > > Isn't that similar? In that case, no root and not other node in the tree > has a reference to the interval in question, so it's unreachable. It's a C struct, not a Lisp object, so I'm not sure I understand what you are saying here. It sounds like we are having a misunderstanding.