]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- MapperOptions and other state associated with query.options()
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 2 May 2009 17:41:04 +0000 (17:41 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 2 May 2009 17:41:04 +0000 (17:41 +0000)
commitf8daff6da185188d8ed807a7f250320e291ad523
tree229f0f9b496c2c6e9ff651761240a358ae03bef9
parentf554d0f02b3ad4001157a9f30a867f8682f96adb
- MapperOptions and other state associated with query.options()
is no longer bundled within callables associated with each
lazy/deferred-loading attribute during a load.
The options are now associated with the instance's
state object just once when it's populated.  This removes
the need in most cases for per-instance/attribute loader
objects, improving load speed and memory overhead for
individual instances. [ticket:1391]
CHANGES
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/strategies.py