Hi.

I just found that there is no WeakIdentityValueDictionary. But we have
WeakValueDictionary, WeakKeyDictionary,  WeakIdentityKeyDictionary.

And to implement missing class I need to copy overrides from
IdentityDictionary. And weak key dictionaries are implemented same way by
duplicating code.

And generally identity collections are not much different from equal
collections but they still duplicate a lot of code with little difference:
#hash or #identityHash, #= or #==.

So I am wondering do we have alternative implementation with proper design?
There are wishes to replace streams by XSteams. What about collections?

Best regards,
Denis

Reply via email to