From d0222d66573d6316a22b9ffce205d1f6db8046bd Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 16 Apr 2021 08:48:52 +0200 Subject: PySide6: Call reserve() when converting lists If a size can be obtained, add a call to reserve() to avoid reallocations for large lists. Task-number: PYSIDE-1540 Task-number: PYSIDE-1503 Change-Id: I95a8a6aa02641d9f174dbc3b63740a05d1d95a45 Reviewed-by: Qt CI Bot Reviewed-by: Christian Tismer --- sources/pyside6/PySide6/templates/core_common.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sources') diff --git a/sources/pyside6/PySide6/templates/core_common.xml b/sources/pyside6/PySide6/templates/core_common.xml index b173684ba..d3bedfc9f 100644 --- a/sources/pyside6/PySide6/templates/core_common.xml +++ b/sources/pyside6/PySide6/templates/core_common.xml @@ -296,6 +296,12 @@