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 18:48:26 +0200 Message-ID: <87ikxizcth.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> <871q4639z0.fsf@gmail.com> <86zfqu39k4.fsf@gnu.org> <874j921oi5.fsf@gmail.com> <86r0c632gc.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="37524"; 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 18:49:29 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 1sQ8bJ-0009Zj-0p for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Jul 2024 18:49:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQ8ab-0007s7-Aw; Sat, 06 Jul 2024 12:48:45 -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 1sQ8aP-0007r9-6u for emacs-devel@gnu.org; Sat, 06 Jul 2024 12:48:37 -0400 Original-Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sQ8aN-0007FQ-8A; Sat, 06 Jul 2024 12:48:32 -0400 Original-Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-367a3d1a378so1490392f8f.1; Sat, 06 Jul 2024 09:48:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720284508; x=1720889308; 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=SddPYjT+uVUxJeVt5zaMWtQeu9BDlfr3n9QmJ3ql0xY=; b=VRptGdYPA4sSLUudiruPfBJCkzYL2uWtilQK6/ls6TzM2Xvr943WEKwBPWSM/4hejv OjUiuLF7KpjJwsLMM5zCkfqMdAW2TcHJwWFANeHeEu1cN+hNNiCxDLfm85WkV313BDZm WcHB5rA3Cq1j3lzG4Yv/vzvnPqT1Ut6XRuS8ym5tWg1uyZOEYSPeuqPHWHS5o9zmUR31 f8b4r4tQ4tNnrwq4fbydGxbl5Zoe+xGdAdnWY1sVmb0dRxp8ZMubKqUQKYQ0TS87aS1b iycRbl0UYLqzWMiw69olKbhwYf9mkq5PewwDRztlW/egT+Qr5rb7IcJFykNoXvibBubB zW4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720284508; x=1720889308; 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=SddPYjT+uVUxJeVt5zaMWtQeu9BDlfr3n9QmJ3ql0xY=; b=L1xfvs3cjMWI9DTL1U1kymgSBgiKFRAwVPGtTbO/Cb6Wi7CoBg7HXnjIBADkID/7r6 NSvK8tT2hYGsgBAenOrmlzZ3NSNAsypPZad7x+j6BnvClirTkPR/m3qqSpCVMSxUN7dU p2GJUcP6OThv1bkcS//MzxI0fLxmAvOacSDwboZjSF7yokwikiRkiT4g9bSv1Z1g+dgk mB2HD71KLHymvAtQ8owdXx8SDtyNoKobNMCgbpC6Sf44Ojcw37W/iioSrlaUAHhqQVms ZiBn9/9qDhHUBsWqcmBAib6Zd1ux/zca82cpIVU9YOxQFZiRct29BuspibX/RF0sUvTv bBXg== X-Forwarded-Encrypted: i=1; AJvYcCVzrmEMzB1C0MRmA+0+vSP3VBu9rCpKRA3It/BWZwSNBtq6BTTs/pS0b13e1hzGjdTiNdsnj4EDKMKJ5vH0klhk/rSk X-Gm-Message-State: AOJu0YzTaVBcp4bBUKZNOBflHVNt1ESLpUeam5lBFOzEVr6hGNGjIcte /neMN7oM74dLyrG7QMvpdeN11UGxIdd0SkmaH1eShucx+0Ex26ZU4Oy+Bg== X-Google-Smtp-Source: AGHT+IFhtCAQpuRXbI47E9rT91ZvdkKQcKGdqkBFTvSH7WweNYupspkCsUvyiMZh21mKcBBUzZZUKA== X-Received: by 2002:a5d:4207:0:b0:367:9cd5:c608 with SMTP id ffacd0b85a97d-3679dd31836mr5757988f8f.36.1720284507741; Sat, 06 Jul 2024 09:48:27 -0700 (PDT) Original-Received: from caladan (dial-190152.pool.broadband44.net. [212.46.190.152]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3678fe13ef4sm10422562f8f.117.2024.07.06.09.48.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jul 2024 09:48:27 -0700 (PDT) In-Reply-To: <86r0c632gc.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 06 Jul 2024 19:33:23 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=eller.helmut@gmail.com; helo=mail-wr1-x42e.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:321447 Archived-At: On Sat, Jul 06 2024, Eli Zaretskii wrote: >> What else could cause it in ert-test-run-tests-batch-expensive? [...] > AFAIU, we call buffer-string, which then must copy the interval tree > of the buffer to the interval tree of the string we create. > > Is that what you wanted to know and understand? > AFAIU, we call buffer-string, which then must copy the interval tree > of the buffer to the interval tree of the string we create. > > Is that what you wanted to know and understand? Well, I wanted to know if it could be something other than printing backtraces. E.g. ert creating some annotated log buffer. Anyway, it look likes the MPS version is slower and needs twice the memory than the non-MPS version.