]> 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:09:14 +0000 (16:09 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 29 Jan 2009 16:09:14 +0000 (16:09 +0000)
commit10dbde43dbeeb713a9cc428b71c4fa59535f2e83
treef06c50844e01ef8466ff5916e400f0d4119b023c
parent966119f4d31ec511930024ad4b12d5e53cc8a6ec
- 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/profiling/memusage.py