Or at least that is the feeling I got from reading that stackoverflow link. I put class into the frozenset in order to properly differentiate the two Mux's I had problems with. The class string includes the hierarchy to get to the module, so I thought it was the smallest thing I could add to create the differentiation. But I'm not sure if calling class is actually expensive or anything...
My commit messages both have "see mores" with details. My main other concern here though might be performance for the hashing method.
Derek used hash() on a frozenset of the arguments for performance reasons:
Or at least that is the feeling I got from reading that stackoverflow link. I put class into the frozenset in order to properly differentiate the two Mux's I had problems with. The class string includes the hierarchy to get to the module, so I thought it was the smallest thing I could add to create the differentiation. But I'm not sure if calling class is actually expensive or anything...
Chris