]> 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 20:40:59 +0000 (16:40 -0400)
commit88bfa1b89c5b3b2290fa266c53322f003833af40
tree1d9b0324f30c258203166303a4cac98f3da8deb3
parentbc7c212370621a26629392cf247492c773fa63fd
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
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