File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -1091,7 +1091,8 @@ void AbstractMetaClass::addFunction(AbstractMetaFunction *function)
1091
1091
1092
1092
if (!function->isDestructor ()) {
1093
1093
m_functions << function;
1094
- qSort (m_functions.begin (), m_functions.end (), function_sorter);
1094
+ // seems like this is not needed and takes a lot of performance
1095
+ // qSort(m_functions.begin(), m_functions.end(), function_sorter);
1095
1096
}
1096
1097
1097
1098
@@ -1840,7 +1841,10 @@ void AbstractMetaClass::fixFunctions()
1840
1841
(*this ) -= AbstractMetaAttributes::Final;
1841
1842
}
1842
1843
1843
- foreach (AbstractMetaFunction *f1, funcs) {
1844
+ // we don't care about FinalOverload for PythonQt, so we
1845
+ // can remove this compare orgy...
1846
+
1847
+ /* foreach (AbstractMetaFunction *f1, funcs) {
1844
1848
foreach (AbstractMetaFunction *f2, funcs) {
1845
1849
if (f1 != f2) {
1846
1850
uint cmp = f1->compareTo(f2);
@@ -1861,7 +1865,7 @@ void AbstractMetaClass::fixFunctions()
1861
1865
}
1862
1866
}
1863
1867
}
1864
- }
1868
+ }*/
1865
1869
1866
1870
setFunctions (funcs);
1867
1871
}
You can’t perform that action at this time.
0 commit comments