These are immutable so we should not be checking them every time. https://www.attrs.org/en/stable/hashing.html#hash-code-caching Since they are not strings python isn't caching them : https://bugs.python.org/issue1462796
These are immutable so we should not be checking them every time.
https://www.attrs.org/en/stable/hashing.html#hash-code-caching
Since they are not strings python isn't caching them : https://bugs.python.org/issue1462796