General

Profile

tjwp (Tim Perkins)

  • Login: tjwp
  • Registered on: 03/23/2016
  • Last sign in: 12/08/2016

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

03/24/2016

12:02 PM Ruby Feature #12210: Add IdentitySet class that compares members by identity
I submitted this as a patch because the std lib already contains one subclass of Set (SortedSet) and a commented-out implementation of another (RestrictedSet).
I don’t expect that this class will change beyond the initial implementati...
tjwp (Tim Perkins)

03/23/2016

07:26 PM Ruby Feature #12210 (Closed): Add IdentitySet class that compares members by identity
This subclass of Set handles a use case that we ran into where we needed to track instances of objects that might compare as equal.
I was surprised that there was not a core way to do this. IdentitySet allows you to do the following (...
tjwp (Tim Perkins)

Also available in: Atom