diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-10-25 23:00:25 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-10-26 13:56:11 +0200 |
| commit | 1a8923df9c9fbc5c55826fa43ab817ff3f28be0d (patch) | |
| tree | 455058cad049ac2a1fb33d99c3a3c47f06cc978f /build_scripts/main.py | |
| parent | 29bd6b68ea241ae3a7c29103d8a79d80b79f233c (diff) | |
shiboken6: Refactor multiple inheritance offset calculation
- Avoid std::set allocation by using standard algorithms operating
on the int array instead.
- Fix one-time initialization for hierarchies where all offsets
are 0 by using -2 as magic constant.
- Reduce mutex lock operations by initializing all base addresses in
the wrapper map in one go.
- Reduce mutex lock operations by releasing the base addresses in the
wrapper map in one go.
Pick-to: 6.6
Task-number: PYSIDE-2506
Change-Id: I7c19b4287a9fcb7a47894b0a06bbeb5698cff7d7
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'build_scripts/main.py')
0 files changed, 0 insertions, 0 deletions
