diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-12-18 21:50:24 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-12-19 10:19:29 -0500 |
commit | 7e9f273835ac68df894568ba4292bfbc74ce187b (patch) | |
tree | 96d3f1590ff45b90a791f92c622737ed3e89fcfb /lib/sqlalchemy/sql/traversals.py | |
parent | 255a6ee18b9d68b5150f1793e0a318d8ccd913bf (diff) | |
download | sqlalchemy-7e9f273835ac68df894568ba4292bfbc74ce187b.tar.gz |
Don't apply aliasing + adaption for simple relationship joins
Identified a performance issue in the system by which a join is constructed
based on a mapped relationship. The clause adaption system would be used
for the majority of join expressions including in the common case where no
adaptation is needed. The conditions under which this adaptation occur
have been refined so that average non-aliased joins along a simple
relationship without a "secondary" table use about 70% less function calls.
Change-Id: Ifbe04214576e5a9fac86ca80c1dc7145c27cd50a
Diffstat (limited to 'lib/sqlalchemy/sql/traversals.py')
0 files changed, 0 insertions, 0 deletions