unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Mattias Engdegård" <mattiase@acm.org>
Cc: 56199@debbugs.gnu.org
Subject: bug#56199: hash table equality predicate [PATCH]
Date: Fri, 24 Jun 2022 20:21:45 +0200	[thread overview]
Message-ID: <87zgi1ncqu.fsf@gnus.org> (raw)
In-Reply-To: <8928CA50-5999-47DD-A002-46B7E9005E62@acm.org> ("Mattias Engdegård"'s message of "Fri, 24 Jun 2022 19:19:54 +0200")

Mattias Engdegård <mattiase@acm.org> writes:

> Even implemented entirely in Lisp it would be an order of magnitude
> faster (and actually correct).
>
> The attached code is not without flaws but provides a rough starting point.
> (This is not meant as a strong argument for or against adding it in
> the first place.)

I can't ever recall wanting to compare two hash tables for equality
(like, that's not what you use a hash table for), but since people have
apparently been reimplementing this a lot, then I'm for including it.

And the implementation looks nice.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2022-06-24 18:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-24 17:19 bug#56199: hash table equality predicate [PATCH] Mattias Engdegård
2022-06-24 18:21 ` Lars Ingebrigtsen [this message]
2022-06-25 16:56   ` Mattias Engdegård
2022-06-26 14:30     ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zgi1ncqu.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=56199@debbugs.gnu.org \
    --cc=mattiase@acm.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).