From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: dick Newsgroups: gmane.emacs.bugs Subject: bug#46722: test-map-into fails Date: Wed, 05 Jan 2022 13:59:09 -0500 Message-ID: <87bl0quhz6.fsf@dick> References: <871r2yu8b1.fsf@gnus.org> <87czl7w4fh.fsf@dick> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21144"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.14 (Gnus v5.14) Commercial/29.0.50 (gnu/linux) Cc: 46722@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 05 20:12:43 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1n5BiF-0005FZ-1Z for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Jan 2022 20:12:43 +0100 Original-Received: from localhost ([::1]:48486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5BiD-00088z-LK for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Jan 2022 14:12:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5Bdl-000517-Iz for bug-gnu-emacs@gnu.org; Wed, 05 Jan 2022 14:08:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58512) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n5Bdi-0001ad-PQ for bug-gnu-emacs@gnu.org; Wed, 05 Jan 2022 14:08:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n5Bdi-0002sU-8C for bug-gnu-emacs@gnu.org; Wed, 05 Jan 2022 14:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: dick Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Jan 2022 19:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46722 X-GNU-PR-Package: emacs Original-Received: via spool by 46722-submit@debbugs.gnu.org id=B46722.164140965911022 (code B ref 46722); Wed, 05 Jan 2022 19:08:02 +0000 Original-Received: (at 46722) by debbugs.gnu.org; 5 Jan 2022 19:07:39 +0000 Original-Received: from localhost ([127.0.0.1]:41825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5BdK-0002rh-9Q for submit@debbugs.gnu.org; Wed, 05 Jan 2022 14:07:39 -0500 Original-Received: from mail-qk1-f172.google.com ([209.85.222.172]:45648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5BVE-0000SB-4u for 46722@debbugs.gnu.org; Wed, 05 Jan 2022 13:59:17 -0500 Original-Received: by mail-qk1-f172.google.com with SMTP id e25so325025qkl.12 for <46722@debbugs.gnu.org>; Wed, 05 Jan 2022 10:59:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=5iMfTcCh8MJN6AcVkP7o8M7thCL/7FDc/pL66VDhXqw=; b=XWLOTOmFAzAJy5jVjuKV0mzzwOorN78BWcqD+0C+F0/+isUMcX5/w+XsJSscJBr4Ph shnx/OEq1i2zT+Yy5fSpDh7Md+GeEIet0yt5tPLGSynYidl22aeCNdhbpZdNBv0re2YY SSHGbYVTsRZOFUdqK5ex8rsbJwhOaV7AyFsDlHP2wsvo09Nta96P9b3NHKIP2QXq9tPa jBtZw35dRwhk4eS8/jYbIlH9gOXNtI2j2f5WXizmvqlvywY3QdLE97Ay5F/0K8tRZV3i gvwRGzeWtXvdMtD84yywws65WsyQIUwVbmLCHrOq6Q7sZxzzwfdYremQCg2yW/j4XUXo jImQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=5iMfTcCh8MJN6AcVkP7o8M7thCL/7FDc/pL66VDhXqw=; b=PXw2yul4YB31flqo75xSGroOHe5Vkhe626GY2cZiGLYRogXEXbimGq2gD/hPxqSf8q lCgLj6P9nyzf8e7RA0c5JLMahygPqxE/1YuRAiyLIUYQOuk56r7IEE1WEdVeou24EYX1 PSd2FvpQk2BJ7Yn1B/GTcFZZdXUeKIiAg8vUeZ+G1FU34sJYLr707rGQ+J0tCyU/8SKB daIVPKlwWOUBSAPOc4zSbL3FpCEYVB9VaNXgQjykEc0RRG1ox5UD1jPQFl2eOxzaYDEK zKF/eXZX5Cbo6Xc6dgi3LCC3rqfL0oSV06MDRHoOpRaQSRYjNbbVO2ryixk7rZ0T6mm6 0beA== X-Gm-Message-State: AOAM530c6p7b4bm654KkA7Dj0iogSfLKoOXJirZznxPpcfIOg+4ckEuG Cw9jaqKitG+jUzGCObN6Rgc= X-Google-Smtp-Source: ABdhPJw5q8BuMay7YNkighlsztgbLfZZdGHwV0q7cVvm+4rocaQYXLYF6/wLovq1y7GxEBdBHgytmQ== X-Received: by 2002:a05:620a:e0e:: with SMTP id y14mr38546992qkm.760.1641409150501; Wed, 05 Jan 2022 10:59:10 -0800 (PST) Original-Received: from localhost (pool-96-232-253-158.nycmny.fios.verizon.net. [96.232.253.158]) by smtp.gmail.com with ESMTPSA id bm21sm632552qkb.86.2022.01.05.10.59.10 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Jan 2022 10:59:10 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Wed, 05 Jan 2022 13:35:42 -0500") X-Mailman-Approved-At: Wed, 05 Jan 2022 14:07:37 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:223709 Archived-At: > So the underlying bug only appears if either the hash-table is rehashed > or the new `sxhash-equal` value happens to the same as the old one. I can't say I understand this, but I'm contented if map-tests.el stops flapping. > The benefit of the `method-cache` OTOH should be very significant > since without it we'd have to recompute the effective method at every > call. I don't get it. This assumes `method-cache` persists between successive calls to the byte-compiled closure... but `method-cache` is clearly let'ted.