From 76fa211620de167b76846f0e5db5b64b8756ad48 Mon Sep 17 00:00:00 2001 From: Federico Caselli Date: Fri, 1 Jan 2021 16:09:01 +0100 Subject: Replace c extension with cython versions. Re-implement c version immutabledict / processors / resultproxy / utils with cython. Performance is in general in par or better than the c version Added a collection module that has cython version of OrderedSet and IdentitySet Added a new test/perf file to compare the implementations. Run ``python test/perf/compiled_extensions.py all`` to execute the comparison test. See results here: https://docs.google.com/document/d/1nOcDGojHRtXEkuy4vNXcW_XOJd9gqKhSeALGG3kYr6A/edit?usp=sharing Fixes: #7256 Change-Id: I2930ef1894b5048210384728118e586e813f6a76 Signed-off-by: Federico Caselli --- lib/sqlalchemy/dialects/postgresql/pg8000.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sqlalchemy/dialects/postgresql/pg8000.py') diff --git a/lib/sqlalchemy/dialects/postgresql/pg8000.py b/lib/sqlalchemy/dialects/postgresql/pg8000.py index 1904a1ae1..3c0d2de64 100644 --- a/lib/sqlalchemy/dialects/postgresql/pg8000.py +++ b/lib/sqlalchemy/dialects/postgresql/pg8000.py @@ -108,9 +108,9 @@ from .json import JSON from .json import JSONB from .json import JSONPathType from ... import exc -from ... import processors from ... import types as sqltypes from ... import util +from ...engine import processors from ...sql.elements import quoted_name -- cgit v1.2.1