[CONPY-241] Parameter substitution in text protocol Created: 2022-11-28  Updated: 2023-02-21

Status: Open
Project: MariaDB Connector/Python
Component/s: Performance
Affects Version/s: 1.1.5
Fix Version/s: None

Type: Task Priority: Major
Reporter: Georg Richter Assignee: Georg Richter
Resolution: Unresolved Votes: 1
Labels: None

Python Version: 3.10

 Description   

The current implementation of parameter substitution (text protocol) is written in pure Python and is too slow, compared to other MariaDB Connectors.

Instead, parameter substitution should be handled in C code.

In order to avoid unnecessary memory consumption, this should ideally be implemented using a (not yet existing) stream send function.

The send function could be implemented in Connector/C or as a fallback in Connector/Python by writing directly to the socket (which can be obtained via the C/C API).


Generated at Thu Feb 08 03:31:18 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.