Use TypeVar's bounded to Hashable for built-in hashable collections and mappings
#10259
| Job | Run time |
|---|---|
| 1m 23s | |
| 4m 17s | |
| 43s | |
| 6m 23s |