diff options
author | Marc Mutz <[email protected]> | 2025-06-13 10:35:01 +0200 |
---|---|---|
committer | Marc Mutz <[email protected]> | 2025-06-13 14:31:56 +0200 |
commit | ab53b1293122518a512335b94491566305280851 (patch) | |
tree | 7a99e642536229e837963b231d119d811af52896 /examples/sql/doc/src/books.qdoc | |
parent | 444e5b63c30abb61c052e3ad84c144cc42b9a7e2 (diff) |
We should not use defaulted arguments of non-trivial type, because
their construction and destruction, even if not passed, is repeated at
every call site, producing O(n) executable code.
By overloading out-of-line, we execute the same code at runtime, but
we have only one copy of the arg construction and destruction, in the
library, O(1) executable code production.
Found in API-review of QAccessibleWidgetV2.
Amends the start of the public history.
Can't pick further than (unreleased) 6.10, because this adds a new
symbol.
Pick-to: 6.10
Task-number: QTBUG-98117
Change-Id: I705bca764992d9e7a2aa1021e0f94006b6817177
Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'examples/sql/doc/src/books.qdoc')
0 files changed, 0 insertions, 0 deletions