GNU bug report logs -
#32503
26.1; Byte-compiled functions don't hash consistently
Previous Next
Reported by: Adam Porter <adam <at> alphapapa.net>
Date: Wed, 22 Aug 2018 19:01:02 UTC
Severity: normal
Merged with 38912
Found in versions 26.1, 27.0.60
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #13 received at 32503 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> 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 <at> 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
This bug report was last modified 3 years and 20 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.