]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Mapped state internals have been reworked to allow for a 50% reduction
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 18 Feb 2015 21:08:19 +0000 (16:08 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 18 Feb 2015 21:08:19 +0000 (16:08 -0500)
commit3209a73b92e17dd351a50c41352791baeefcd846
tree2598487e5032baa9847fa11fbe9b34ee64596f7e
parent3eff76c4b0c234717e6d8a157ef6883b72694927
- Mapped state internals have been reworked to allow for a 50% reduction
in callcounts specific to the "expiration" of objects, as in
the "auto expire" feature of :meth:`.Session.commit` and
for :meth:`.Session.expire_all`, as well as in the "cleanup" step
which occurs when object states are garbage collected.
fixes #3307
12 files changed:
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/identity.py
lib/sqlalchemy/orm/instrumentation.py
lib/sqlalchemy/orm/loading.py
lib/sqlalchemy/orm/session.py
lib/sqlalchemy/orm/state.py
lib/sqlalchemy/orm/strategies.py
test/orm/test_attributes.py
test/orm/test_expire.py
test/orm/test_pickled.py
test/profiles.txt