Commit d501851
committed
Since instances of _TemporarilyImmutableSet are always thrown away
immediately after the comparison, there in no use in caching the hashcode.
The test, 'if self._hashcode is None', never fails. Removing the caching
saves a few lines and a little time.1 parent 045e51a commit d501851
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
471 | 471 | | |
472 | 472 | | |
473 | 473 | | |
474 | | - | |
475 | | - | |
476 | 474 | | |
477 | 475 | | |
478 | 476 | | |
479 | 477 | | |
480 | 478 | | |
481 | | - | |
482 | | - | |
483 | | - | |
| 479 | + | |
0 commit comments