diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2016-10-12 01:10:31 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2016-10-12 01:10:31 +0100 |
commit | 121cf3b8f8426765d983579d3a4b2e932429cd9f (patch) | |
tree | 2c43095c9dbef1c3f4c2a03963d2eb22dbd623ca /lib/extras.py | |
parent | 584c7e68902c45c72f2ab3b0b171aca58ce36f0d (diff) | |
download | psycopg2-121cf3b8f8426765d983579d3a4b2e932429cd9f.tar.gz |
Optimize UTF8 and Latin1 decoding
Cache a pointer to a fast decoding function when the connection encoding
is set so skip a repeated codec lookup for every string.
Diffstat (limited to 'lib/extras.py')
0 files changed, 0 insertions, 0 deletions