]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- refine this enough so that _collect_insert_commands() seems
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 15 Aug 2014 22:22:08 +0000 (18:22 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 15 Aug 2014 22:22:08 +0000 (18:22 -0400)
commit8773307257550e86801217f2b77d47047718807a
tree2e9bd72fa6b71128d870ce95533c835d96687519
parent591f2e4ed2d455cb2c5b9ece43d79fde4b109510
- refine this enough so that _collect_insert_commands() seems
to be more than twice as fast now (.039 vs. .091); bulk_insert()
and bulk_update() do their own collection but now both call into
_emit_insert_statements() / _emit_update_statements(); the approach
seems to have no impact on insert speed, still .85 for the
insert test
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/persistence.py