[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#32503: 26.1; Byte-compiled functions don't hash consistently
From: |
Lars Ingebrigtsen |
Subject: |
bug#32503: 26.1; Byte-compiled functions don't hash consistently |
Date: |
Thu, 24 Jun 2021 18:30:26 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> Sorry, haven't had a chance to look at it yet. I've been treating it as
>> low-ish priority because pdumping outside loadup isn't supported yet. Is
>> there some reason to expedite this work?
>
> Not that I can see, no. I just wanted to be sure this isn't
> forgotten.
>
> Thanks.
This was a long thread, and I only skimmed it lightly. But I noticed
that it was merged with this bug report:
Adam Porter <adam@alphapapa.net> writes:
> I noticed that byte-compiled functions don't hash consistently. Here's
> an ECM from Noam Postavsky
> <https://github.com/skeeto/emacs-memoize/pull/10#issuecomment-415066682>:
>
> (let ((obj1 (byte-compile (lambda (x) x)))
> (obj2 (byte-compile (lambda (x) x))))
> (list (equal obj1 obj2)
> (eq obj1 obj2)
> (= (sxhash obj1)
> (sxhash obj2))))
> ;=> (t nil nil)
And this test case no longer fails in Emacs 28 (but it fails in Emacs
27). So is there more to be done in these merged bug reports?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#32503: 26.1; Byte-compiled functions don't hash consistently,
Lars Ingebrigtsen <=