]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
use cython for result
authorFederico Caselli <cfederico87@gmail.com>
Thu, 13 Nov 2025 21:22:03 +0000 (22:22 +0100)
committerFederico Caselli <cfederico87@gmail.com>
Mon, 8 Dec 2025 20:45:41 +0000 (21:45 +0100)
commit8849e2b775c186da6f037d5403df777ad667c852
tree167fbee3cb6d32f00d6acbc28fa87a24cbf00281
parentf58ea194d5190859baef66c183fa0228f629830c
use cython for result

Use cython for the internal result methods. This improves the speed
of the row processing of about 15-30% depending on cases.

Change-Id: Ia19c1a61aa1a55405b8327f88b1ee02627c4217a
13 files changed:
lib/sqlalchemy/engine/_result_cy.py [new file with mode: 0644]
lib/sqlalchemy/engine/cursor.py
lib/sqlalchemy/engine/result.py
lib/sqlalchemy/orm/loading.py
lib/sqlalchemy/util/_has_cython.py
lib/sqlalchemy/util/cython.py
setup.py
test/aaa_profiling/test_memusage.py
test/perf/compiled_extensions/base.py
test/perf/compiled_extensions/command.py
test/perf/compiled_extensions/result.py
test/profiles.txt
tools/cython_imports.py