]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
rewrote PickleType bind_processor and result_processors to bypass TypeDecorator
authorGaëtan de Menten <gdementen@gmail.com>
Tue, 3 Nov 2009 15:52:57 +0000 (15:52 +0000)
committerGaëtan de Menten <gdementen@gmail.com>
Tue, 3 Nov 2009 15:52:57 +0000 (15:52 +0000)
commitadaecccda17d927462df30f7e6be37a300798013
tree7c071c3826cbc5c7f459b6240f303443813859f9
parentdb3521823dd629d07079555341b5f5885264650f
rewrote PickleType bind_processor and result_processors to bypass TypeDecorator
call overhead and avoid pickler function lookup for each row (see #1598).
Provides a speedup of ~7 % on total query time for a 1000 record query on a
table with 1 PickeType field and 25% None values.
lib/sqlalchemy/types.py