]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Deannotate ORM columns in ColumnEntity
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 2 Nov 2018 20:40:59 +0000 (16:40 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 2 Nov 2018 23:24:59 +0000 (19:24 -0400)
commit8e9467b050d0c818b6d356df7760cc2e8e54a1f7
tree4006bf961120d8b0d38ec3196aace87c34a5e497
parentec435e15f21c1073fab60a3582025059ef5b9449
Deannotate ORM columns in ColumnEntity

Fixed a minor performance issue which could in some cases add unnecessary
overhead to result fetching, involving the use of ORM columns and entities
that include those same columns at the same time within a query.  The issue
has to do with hash / eq overhead when referring to the column in different
ways.

Fixes: #4347
Change-Id: I191d4d1b1623898060a9accdfd186de16f89a6b7
(cherry picked from commit 88bfa1b89c5b3b2290fa266c53322f003833af40)
doc/build/changelog/unreleased_12/4347.rst [new file with mode: 0644]
lib/sqlalchemy/orm/query.py
test/aaa_profiling/test_orm.py
test/profiles.txt