]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- merged "fasttypes" branch. this branch changes the signature
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 14 Aug 2007 21:53:32 +0000 (21:53 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 14 Aug 2007 21:53:32 +0000 (21:53 +0000)
commit087f235c33c1be4e0778231e8344a50dc4005c59
treed47c35d1e520e43c05ec869304870c0b6c87f736
parente58063aa91d893d76e9f34fbc3ea21818185844d
- merged "fasttypes" branch.  this branch changes the signature
of convert_bind_param() and convert_result_value() to callable-returning
bind_processor() and result_processor() methods.  if no callable is
returned, no pre/post processing function is called.
- hooks added throughout base/sql/defaults to optimize the calling
of bind param/result processors so that method call overhead is minimized.
special cases added for executemany() scenarios such that unneeded "last row id"
logic doesn't kick in, parameters aren't excessively traversed.
- new performance tests show a combined mass-insert/mass-select test as having 68%
fewer function calls than the same test run against 0.3.
- general performance improvement of result set iteration is around 10-20%.
20 files changed:
CHANGES
lib/sqlalchemy/ansisql.py
lib/sqlalchemy/databases/access.py
lib/sqlalchemy/databases/informix.py
lib/sqlalchemy/databases/mssql.py
lib/sqlalchemy/databases/mysql.py
lib/sqlalchemy/databases/oracle.py
lib/sqlalchemy/databases/postgres.py
lib/sqlalchemy/databases/sqlite.py
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/engine/default.py
lib/sqlalchemy/sql.py
lib/sqlalchemy/types.py
test/orm/assorted_eager.py
test/orm/unitofwork.py
test/sql/defaults.py
test/sql/select.py
test/sql/testtypes.py
test/sql/unicode.py
test/testlib/testing.py