]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The per-dialect cache used by TypeEngine to cache
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 29 Jan 2009 16:10:08 +0000 (16:10 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 29 Jan 2009 16:10:08 +0000 (16:10 +0000)
commitc12854807de2a78ac66f2e8c51004866de699ea4
tree36e9b2d4e324cb9f41cba12eb2c6da52e6067b88
parentf43f9a28303e8e36b2018cdc0df9f01ff765cf6f
- The per-dialect cache used by TypeEngine to cache
dialect-specific types is now a WeakKeyDictionary.
This to prevent dialect objects from
being referenced forever for an application that
creates an arbitrarily large number of engines
or dialects.   There is a small performance penalty
which will be resolved in 0.6.  [ticket:1299]
CHANGES
lib/sqlalchemy/types.py
test/orm/memusage.py