Skip to content

New implementation of LinkedHashSet/LinkedHashMap #11369

Closed
scala/scala
#10221
@joshlemer

Description

@joshlemer

Recently, @szeiger rewrote the implementations of mutable.HashMap and mutable.HashSet here. So far as I see there's no reason not to implement LinkedHashSet/Maps the same way, and in fact doing so will allow LinkedHashMaps/Sets to participate in hashcode sharing between:

  • s.c.i.HashMap
  • s.c.i.HashSet
  • s.c.i.VectorMap
  • s.c.m.HashMap
  • s.c.m.HashSet
  • s.c.m.HashMap#keySet
  • s.c.i.HashMap#keySet
  • s.c.i.VectorMap#keySet

as started here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions