takemaru / graphillion

Fast, lightweight graphset operation library
Other
466 stars 40 forks source link

GraphSet as a hash key #11

Open takemaru opened 10 years ago

takemaru commented 10 years ago

GraphSet objects (and its internal setset objects) should not be used as a hash key since they are mutable, but they can be a hash key in the current implementation. FrozenGraphSet objects will be introduced to be a hash key, in accordance with Python policy.