From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: MPS: weak hash tables Date: Sat, 06 Jul 2024 15:50:59 +0200 Message-ID: <871q4639z0.fsf@gmail.com> References: <-plQctKgNkvp-LJ9ov2QAiXQKxd9V-hI0yz_opRGxQtbknubCjH4rH2-ymgbw_Qr1ZhB1rtlmiEW8XtuIVNr7nR_Yj20AH6WkH6kUGp68g0=@protonmail.com> <_mNcR6ailVKpYHLxgfo_tJlYGeR0AQIzQWluspYYp5_g5pIIKkHLNfFkklQQgOKNiVW8jn8NS3i2dJ7_B2Qyx9v-Dq3MQ9mP8HNL30UWsqY=@protonmail.com> <878qyf4sgm.fsf@gmail.com> <878qye3l81.fsf@gmail.com> <86ikxi4vt5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30956"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: gerd.moellmann@gmail.com, pipcet@protonmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jul 06 15:51:59 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 1sQ5pX-0007uE-FE for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Jul 2024 15:51:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQ5oj-0007uR-MY; Sat, 06 Jul 2024 09:51:09 -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 1sQ5oh-0007rU-G3 for emacs-devel@gnu.org; Sat, 06 Jul 2024 09:51:07 -0400 Original-Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sQ5og-00069C-21; Sat, 06 Jul 2024 09:51:07 -0400 Original-Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a77e5929033so37905766b.0; Sat, 06 Jul 2024 06:51:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720273862; x=1720878662; darn=gnu.org; h=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=O3C9J4Jt18vv3jwMKCU1e3qO2k/xIK715u0pkr5wSSc=; b=lG3I8HZcm33gx8E8Xee0zzl00rdAH4HgGAbZ0gubtw/2kH8QSNsmbNu/eXsZEZie3i JS8Z1HmSiGon8GIpzMb0sf7xXVe3GBBX1iH908whqDXLtPBPYCUMhpaSWiF8pIOlG6T7 HNc19EZtDGusHWiHpDGFtPtg+8rvdu2YCK7fLOhVzRt5eHKJnDXfLlwe8XQS4FbG/CIB U1oX1XlGWcDebBqvsuWFL3C/t7TQ68fXa5Yjoxgm5folD8bMiMRfShlQDNCmQtgxifV7 7ZQJPZnzSeLDyIrW9LwA9qW1fbHWRm1b0EhUqs0omVk+Yfe0WGKX5Sg7/aoh7PDi4efP 5mVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720273862; x=1720878662; h=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=O3C9J4Jt18vv3jwMKCU1e3qO2k/xIK715u0pkr5wSSc=; b=F3R5Dl8cEH613eT0suK3mAPfaGqI54oJqUdYGTqYKYIph7e9ydz4NP0wrMvnKMLBjH 5MVlpaxpMVdiT1aO6CPdXZsIUwFmJLz0NWM++QPLv7FS5L+1ZYFFY7jEImXXTlDriukf Ic0gNoYzncSs3EKW7ERyZng/vcHjpjSHj+j7Di+D/Y9nUUSjtBuPfgOIGBytIMtvDH7N N1sF9QUZbOW1/MpTcrH6U16xa9pPRSkxAvBSNVoG8pp9wolKYrfVYc4UCc2/gDYdPiY1 DomhuNjp3E5QSDQiVXz2nYBcNIJxQdOuAAGtmmjSovXpMJ33sapZOzWTOlXRKYh9mVsd ftFA== X-Forwarded-Encrypted: i=1; AJvYcCW9JNwdaTBUswG7iZOyzZ27yXfv+uVPbS9feHGF6vBb3h9ySAvr9YN3dCkpkKUvCsyDZoqciOJLaI1QvF0nW/EBdhLZ X-Gm-Message-State: AOJu0YygME0HiB9DaSHTk2VZG6Dl8LfxqiqLyNPS/Ti7Q9Cpx19Zky5Q 6Tp0Ne3BS/UWFLBYUxOKuCmKUlhdTSn/bpEzW3gdqrva3vz5A1DChupE8A== X-Google-Smtp-Source: AGHT+IFhvqyxow9XCQ33GSOqA7zW4q+8Su6VgSQhlL80IUDz1QHE7yLBVXnVtXcGNt4KUxQsTxs4aw== X-Received: by 2002:a17:906:3ad7:b0:a75:1096:bbb4 with SMTP id a640c23a62f3a-a77ba84a917mr484441766b.69.1720273862263; Sat, 06 Jul 2024 06:51:02 -0700 (PDT) Original-Received: from caladan (dial-190152.pool.broadband44.net. [212.46.190.152]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7400456582sm665235466b.153.2024.07.06.06.51.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jul 2024 06:51:01 -0700 (PDT) In-Reply-To: <86ikxi4vt5.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 06 Jul 2024 14:13:58 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=eller.helmut@gmail.com; helo=mail-ej1-x634.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:321434 Archived-At: On Sat, Jul 06 2024, Eli Zaretskii wrote: > Isn't the call to balance_an_interval made from sweep_buffers and > sweep_strings? We balance the intervals of the buffers and strings > that survived GC, to make accessing these trees faster. I don't know; I thought that the interval tree is a red-black tree that is always balanced. > How did you conclude that rebalancing interval trees is needed for > printing backtraces? What else could cause it in ert-test-run-tests-batch-expensive?