[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Comparing two hash tables for equality?
From: |
Arne Babenhauserheide |
Subject: |
Re: Comparing two hash tables for equality? |
Date: |
Mon, 27 Aug 2018 22:25:05 +0200 |
User-agent: |
mu4e 1.0; emacs 25.3.1 |
Mark H Weaver <address@hidden> writes:
> Hi Aleksandar,
> Hash table implementations typically don't offer an equality test on the
> hash tables themselves, and I don't recall anyone ever asking for such
> an operation before now.
I already wrote diff-algorithms for Python dictionaries, which is close
to implementing (equal? h H).
The main advantage of hash-tables over other dictionary types is that
they are very, very fast. I tried finding anything faster, but I did not.
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein
ohne es zu merken
signature.asc
Description: PGP signature