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:40:14 +0200 Message-ID: References: <8734olzlws.fsf@gmail.com> <7PXYgVu5A8knQy6Q03cbm6FjO7s022nC0cqCRtUDhQBgA8ZrpLqmoVRgxD8moCTJpB_52ngFaJnW5JIflrzpHe09WcmbRqiHIdWQZE9kQgU=@protonmail.com> <87tth1xm4n.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21265"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Pip Cet , Ihor Radchenko , Eli Zaretskii , emacs-devel@gnu.org To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 07 17:40:49 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 1sQU0O-0005Lr-On for ged-emacs-devel@m.gmane-mx.org; Sun, 07 Jul 2024 17:40:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQTzx-0005Qo-8w; Sun, 07 Jul 2024 11:40:21 -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 1sQTzv-0005Q9-Lm for emacs-devel@gnu.org; Sun, 07 Jul 2024 11:40:19 -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 1sQTzu-0006fE-5a; Sun, 07 Jul 2024 11:40:19 -0400 Original-Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a77d85f7fa3so289433666b.0; Sun, 07 Jul 2024 08:40:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720366816; x=1720971616; 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=LLj8h/m151eJwUM+b+WhxpFj1nPjADJSM12glpNt5bc=; b=jGlvoqxF/XijfjtI8ZQULe3tb8mtt2LTfyxmsAvcwSMxs7UsVllyA/Dq1XQB9Tmj4f L78jj9JjYv/cMCD7Vn7/nnN2AuX46+G7tXBQipSQJFXVLNWN3YwDPo5Sm2SHUztKSw+l 15ohXwvgctalwoahv+k0Nm/qDgWGnnSNJD/ZSy9owY7OlLTmibvg0ICEADWS2k1k8oVc 4z7nMx6fPGOZYWWByJyCniyINngvqOfMsYeIYnFtqsfOBfYyRpmUWAlyBfo8S94qcL3W YnX3A6iNSyJm9KQGN1vhpRLekO0aJpcG25kANJ5+V4lx0/dVbDFT4asi7tUb6GK6l0yP yJyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720366816; x=1720971616; 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=LLj8h/m151eJwUM+b+WhxpFj1nPjADJSM12glpNt5bc=; b=RcBEKsiT5exs7f57wdO1vX9J2txDfyuT6MhvBEmxcVQo5bBNquVvP2xsjA/uW8DWgm dqSdtFgYH+Ge4rYnuz49TiXULP+GoCiKbsC4pK46YbXNg25fcgDiIyK7Y7TJ0dyix5D7 ZtddUFJaWgj4/pDPcm2SN0/0z+FLj150wpIml6lS5D1l9AgKICXl01wAAkrAzqbOURwA cidUrOkJLEjlwKAAAPvOyv1yWdbqWdOZlVazgGXrfFgKSWRgJPknTOFu4qBrNga+4Dv9 4TD7UcvqT/f0Wz5EXZN0UKxDtye7bqy6Ln9CfD7s5NbmgGAjMcVUV7vgVFAbULKT+lfd XMwA== X-Forwarded-Encrypted: i=1; AJvYcCV4hrqWwe6W9BpQJE+3NuA2pH9TDI+LwvQzx1l1E2WXG/oaonRT6oi6a35wcGjA+QUxUovsEeaZzKTb/x/gvK14P8jUGvNFh5YhL54JYIZURWo= X-Gm-Message-State: AOJu0YxsrXeAxNBpZeRROEGmUMor2sr7uosNU8xV8UcaZN5MG6loIwWQ yr0eX3bgtKLFL2/t/uEYoDii+HROa9Jbjv/+URLFcF3Uhy9Z3Gry/v9NAQ== X-Google-Smtp-Source: AGHT+IEHEsKst9ypt9hd9WveIiyLhFKNeGGPUL+aNmYhLNt8Muwp7Ysap+yuIZsi2h9EStxjkiOQYw== X-Received: by 2002:a17:906:c288:b0:a77:b349:ffd8 with SMTP id a640c23a62f3a-a77bdd6b7bemr814612566b.32.1720366815708; Sun, 07 Jul 2024 08:40:15 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a778.dip0.t-ipconnect.de. [79.227.167.120]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a77cd9cb2f7sm218939866b.29.2024.07.07.08.40.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jul 2024 08:40:15 -0700 (PDT) In-Reply-To: <87tth1xm4n.fsf@gmail.com> (Helmut Eller's message of "Sun, 07 Jul 2024 17:22:32 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=gerd.moellmann@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:321497 Archived-At: Helmut Eller writes: > On Sun, Jul 07 2024, Pip Cet wrote: > >> Oh, I think I found something! "messages" is a let-bound variable >> containing all messages. The backtrace goes there. But the backtrace >> also prints the values of let-bound variables in closures, so it'll >> print all messages recursively, giving us O(N^2) behavior at least... > > Hm, messages is let-bound in ert-test-run-tests-batch-expensive. How > can it have any effect or be effected by other tests? I thought it maybe comes from here (defun ert-run-tests (selector listener &optional interactively) "Run the tests specified by SELECTOR, sending progress updates to LISTENER." (let* ((tests (ert-select-tests selector t)) (stats (ert--make-stats tests selector))) Haven't checked that though, the lines were too long for me.