Subject: Re: bug#63671: Add function to test equality of hash tables

From: Mattias Engdegård <[email-masked]>
Date: Wed, 24 May 2023 22:34:11 +0200

24 maj 2023 kl. 19.27 skrev Joseph Turner <[email-masked]>:

> Would extending `equal' to handle hash tables be generally useful?

It would, but doing so would be very risky at this point since it would change long-standing semantics.

We could make an augmented version of `equal` but what we really want is one that works for user-defined types (see Ihor's reference to a previous discussion).

Anyway, here's an old patch I had lying around, in case we decide that we do need a shoddy equality predicate for hash tables only.