diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-03-16 12:37:20 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-03-17 10:11:24 -0400 |
commit | 58666d32742dc050c2e48c48ab8f946561636e8b (patch) | |
tree | 3355054bc17aa3651aa3d50f7222b9d1f11ddcfe /lib/sqlalchemy/engine/interfaces.py | |
parent | 6acf5d2fca4a988a77481b82662174e8015a6b37 (diff) | |
download | sqlalchemy-58666d32742dc050c2e48c48ab8f946561636e8b.tar.gz |
remove intermediary _is_clone_of entries when cloning
Improvements in memory usage by the ORM, removing a significant set of
intermediary expression objects that are typically stored when a copy of an
expression object is created. These clones have been greatly reduced,
reducing the number of total expression objects stored in memory by
ORM mappings by about 30%.
note this change causes the tests to have a bit of a harder time with
GC, which we would assume is because mappings now have a lot more
garbage to clean up after mappers are configured. it remains
to be seen what the long term effects of this are.
Fixes: #7823
Change-Id: If8729747ffb9bf27e8974f069a994b5a823ee095
Diffstat (limited to 'lib/sqlalchemy/engine/interfaces.py')
0 files changed, 0 insertions, 0 deletions