]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Dumpers ownership dict micro-optimisation
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 1 May 2021 23:59:55 +0000 (01:59 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 2 May 2021 00:00:51 +0000 (02:00 +0200)
commit280a5db9c35e3c1e3d9cdd402f7fc677fd275a15
treef6d57d3202b1624c19058401b96f61144b9568a2
parent446879a7bb0e57e7eebac3a5f05d591d6efaae14
Dumpers ownership dict micro-optimisation

Copying is ~10x faster than creating a new dict.
psycopg3/psycopg3/adapt.py