At the moment there are a few datastructures that are described as "sets". where possible we should make these frozenset to remove the possibility of them being modified.
Designs
Child items 0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items 0
Link issues together to show that they're related.
Learn more.
Related merge requests 1
When this merge request is accepted, this issue will be closed automatically.
Wauw, according to this thread , a frozenset is hashable and can therefore be used as a dictionary key. Maybe this is a clean way to store simplices (rather than having a sorted tuple) in the triangulation/learner.
@jbweston's illustration shows clearly that there's a clear benefit in implementing this issue.
No, I was just saying that we should prefer tuples over sets where possible, but that some of the structures that currently are sets should be frozenset if they can be