summaryrefslogtreecommitdiff
path: root/django/db/models/sql
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2024-01-13 14:21:36 -0500
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2024-01-15 05:56:33 +0100
commitd074c7530b812a7b78c9a201c8a70f281ed3a36e (patch)
tree518955c30ed741af8df3a9c6a9978670ea7b76be /django/db/models/sql
parent92d6cff6a2fee7a3f9244081b84fd82c50cc71aa (diff)
Refs #35102 -- Optimized Expression.identity used for equality and hashing.
inspect.signature() is quite slow and produces the same object for each instance of the same class as they share their __init__ method which makes it a prime candidate for caching. Thanks Anthony Shaw for the report.
Diffstat (limited to 'django/db/models/sql')
0 files changed, 0 insertions, 0 deletions