diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-04-26 09:31:48 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-04-30 11:51:32 +0000 |
commit | e83e07dd9fba3a2c69afe07cbee70346a1ee6ec8 (patch) | |
tree | 7c8287ba6a5270d08538180a70f5b24511cbc0d6 /dist | |
parent | f332f2e8e66a5fa67b302893a13f0be3687ccc38 (diff) |
shiboken/Generators: Cache class information lists per class
The function ShibokenGenerator::getFunctionGroups(class) is called
many times for each function during code generation and causes a
slowdown for the OpenGL version function classes, which have 1000
member functions.
Split away getGlobalFunctionGroups() for the case scope=0 and
introduce a global-static cache for class information that is more
involved to determine for use by the various generators.
Speeds up the generation of the QtGui module including the OpenGL
version functions from 420s to 90s.
Task-number: PYSIDE-955
Change-Id: I6b6aa35ef2197aa9cddbf339db9eb0220932f361
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions