diff options
| author | Christian Tismer <tismer@stackless.com> | 2020-07-08 14:26:04 +0200 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2020-07-09 11:34:36 +0200 |
| commit | fb2dc48389c1099bef3aaed97f16ce2bd1b90fee (patch) | |
| tree | fd3266c3f422170df2b92bd494b7e49b7bcf712e /build_scripts/platforms/unix.py | |
| parent | 39c6018e484d2a6850d239de03fef89df730f357 (diff) | |
shiboken: optimize method override strings
The override strings in bindingmanager were based upon
pure C strings for a long time. There was some mild overhead
of creating PyObject all the time.
With the upcoming name mangling of Selectable Features,
this becomes even a bit more inefficient when strings also get
mangled. With Python strings this is just a dict lookup.
This patch uses the same machinery as `Shiboken::PyName`.
Task-number: PYSIDE-1019
Change-Id: I4eed7222371dadeed0e9ba98cc7970e726ffc044
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'build_scripts/platforms/unix.py')
0 files changed, 0 insertions, 0 deletions
