Simple maps/sets: parameterize the comparator?
rossberg at google.com
Mon Jan 2 03:54:20 PST 2012
On 29 December 2011 18:48, Allen Wirfs-Brock <allen at wirfs-brock.com> wrote:
> The existence of WeakMap/Map implies the
> existence of an internal object identify hash value.
Why? AFAICT, there is nothing currently requiring these collections to
be implemented as hash tables in particular. And there may perhaps be
reasons for an implementation not to (hash tables tend to be vastly
overused anyway). I would prefer not to hard-code that as a
More information about the es-discuss