aboutsummaryrefslogtreecommitdiffstats
path: root/tools/snippets_translate
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2022-08-14 12:59:41 +0200
committerChristian Tismer <tismer@stackless.com>2022-08-15 08:41:59 +0200
commit01e048763a372677c358172a66232f15b09a1021 (patch)
tree40a3476f81046b7a9e42216d91879e07360e94c0 /tools/snippets_translate
parent0f5dcb03eb258280acd10a0f4f2889301a9ef365 (diff)
PyEnum: Accelerate item access
With the transition to Python 3.11, access to enum items has become slower by the replacement of direct item access by Python properties, involving unnecessarily the use of Python code. When we are in charge of Enum item access, we circumvent the slower property access by using the internal mapping directly. Task-number: PYSIDE-1735 Change-Id: Iabe045be09df847d9587e9d3f6913e9610f5695e Pick-to: 6.3 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tools/snippets_translate')
0 files changed, 0 insertions, 0 deletions