[MCOL-946] migrate to swig for mcsapi python binding Created: 2017-09-28 Updated: 2023-10-26 Resolved: 2017-10-06 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | 1.1.0 |
| Fix Version/s: | 1.1.1 |
| Type: | Task | Priority: | Major |
| Reporter: | David Thompson (Inactive) | Assignee: | Andrew Hutchings (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 2017-19, 2017-20 |
| Description |
|
the initial choice for python binding framework pybind11 seems to have an excessive runtime overhead plus requires maintenance of a macro per api call. Evaluating swig shows this has a simpler interface file plus is about 2-2.5 times faster for a million row insert test case. |
| Comments |
| Comment by Andrew Hutchings (Inactive) [ 2017-10-06 ] |
|
New pull request to fix for Python 3. All looks good apart from that |