From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: MPS: weak hash tables Date: Sun, 07 Jul 2024 17:36:18 +0200 Message-ID: References: <878qyeffjh.fsf@localhost> <8734olzlws.fsf@gmail.com> <867cdx32e3.fsf@gnu.org> <864j912t0s.fsf@gnu.org> <86zfqt1cxa.fsf@gnu.org> <86y16d1aik.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38785"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: pipcet@protonmail.com, eller.helmut@gmail.com, yantar92@posteo.net, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 07 17:36:39 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 1sQTwM-0009rJ-RF for ged-emacs-devel@m.gmane-mx.org; Sun, 07 Jul 2024 17:36:38 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQTwA-00049f-JR; Sun, 07 Jul 2024 11:36:26 -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 1sQTw8-00049R-Ge for emacs-devel@gnu.org; Sun, 07 Jul 2024 11:36:24 -0400 Original-Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sQTw7-0005CV-0W; Sun, 07 Jul 2024 11:36:24 -0400 Original-Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2ee90f56e02so28942971fa.2; Sun, 07 Jul 2024 08:36:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720366580; x=1720971380; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ByvUNSf+nUaArATrk7PQ5Ej1cICwV0eR6N8kcKiITC0=; b=JEcffZAq8j3Q9YEUE+rhLW42vCxdmQkwQ7rBFRAuPtZ/VQuZK+faiqALkhgvmHvC9T 3F5CCTiJeGJTEZiomChyjwateOC3zJz9CXG4MG8qiIbCLvvHd+Hae9KGl0wgBZhhtHWy JHXAFKxblvhZRBsuzehYrG33kyyuRHQ/WpIXLw8eLtnQMO+VZsKpHC14dJzSb+TPDOl4 TkYrI6HC6xKLvz2hxACs42vNlsmWOlpRR08jRGXcH0YrQw7LlkU+yVeH/3x6WBTCyTFY m+JaiCNoTrzn4mCZ9iZMb5MLsC6KjExYhPKgF0j7W8p+SVVfdaGrrQNExszdRJpZJcaX 0mWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720366580; x=1720971380; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=ByvUNSf+nUaArATrk7PQ5Ej1cICwV0eR6N8kcKiITC0=; b=i9ELinVEddaecUSIqa/4d8j0zElTT6Q/wFV9wpOf1NLBo6+QcQlAIXfSsBAE3tIfS1 zpwu7+M/vfzGoQytWLmtG5DVHwB15T0AQzttCJpqGYFXVUqq5+MjjMVC5EwpLadv2LuS SMFKhTfF7jDchkhwFKVCzFh2yml+OalaMq/UjB60FUM8PVWzPqrOgB0V6wcpj2WlXaKp MWfRYLl+77tqxn6q1L717mr4L492sHG7QmfPSjNldfUQGOiFq81yM8TtUCUDEygSJ3sO kOvguiviHZ16kwTjy1bp4kEedKCdMK1sFAAYepc4ioyMsoXQCspCAu1MzPtG0geEjCEt Cfgw== X-Forwarded-Encrypted: i=1; AJvYcCUn9A/tveJVXMm7cO5z5qUwoqjJI+jrdcY6OioSGUZFX2BHpuTtULumMEsCxHYbUY04+l+Z70ip+BJ+eKhcgga66zIt X-Gm-Message-State: AOJu0YzZ8cgbX80DY2TWDJ9cIgtG/tWhgaS2i0shLIIAZZjD9aFpUdKv 4kRS+iMgkAxKXvZJ1pIwB1Ap/am+syjKtSZGRz0ikp+roS/MgSyDTmf0jw== X-Google-Smtp-Source: AGHT+IFMVCRjxRh7xUjA7U9VDUE+tyojzWBCnsJYqQ6vM2Z4z4RqkUZ4DE3SMifpSqUqGgi85h9jHw== X-Received: by 2002:a2e:7005:0:b0:2ec:59b6:ad71 with SMTP id 38308e7fff4ca-2ee8ee00430mr59598831fa.40.1720366580130; Sun, 07 Jul 2024 08:36:20 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a778.dip0.t-ipconnect.de. [79.227.167.120]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3678a23b349sm13760808f8f.36.2024.07.07.08.36.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jul 2024 08:36:19 -0700 (PDT) In-Reply-To: <86y16d1aik.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 07 Jul 2024 18:34:27 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::22a; envelope-from=gerd.moellmann@gmail.com; helo=mail-lj1-x22a.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:321496 Archived-At: Eli Zaretskii writes: >> From: Gerd M=C3=B6llmann >> Cc: pipcet@protonmail.com, eller.helmut@gmail.com, yantar92@posteo.net, >> emacs-devel@gnu.org >> Date: Sun, 07 Jul 2024 16:52:15 +0200 >>=20 >> Eli Zaretskii writes: >>=20 >> >> It starts with the root of a tree becoming unreachable, say a string's >> >> intervals become unreachable because the string is unreachable. By th= at, >> >> 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. >>=20 >> 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. Looks like we do. References in igc can be pointers and Lisp_Objects. Maybe that's the misunderstanding?