Skip to content

Implement the Hashable interface on Container classes ? #65

Open
@castarco

Description

@castarco

Hi,

is there a reason to not implement the Hashable interface on the "container" classes? I think that it will be very useful in order to compare containers.

It seems that the current implementation forces users to loop over collections to compare them. I know that if this comparison is implemented as a method, it will work the same way, but I think is better to implement the comparison one single time rather than reimplement it again and again in "userland".

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions