diff options
| author | Ahmad Samir <a.samirh78@gmail.com> | 2025-06-25 21:27:19 +0300 |
|---|---|---|
| committer | Ahmad Samir <a.samirh78@gmail.com> | 2025-07-31 15:38:26 +0300 |
| commit | 82edcc1c326a054a4bf842a019dcfeda6fd9f9d9 (patch) | |
| tree | 6591dedf5c5fce63ff27c1d6714da26418413284 /src/gui/doc/snippets/plaintextlayout/window.cpp | |
| parent | ae84310e27cad07ba9075f849c1da0537391ddd8 (diff) | |
QMetaStringTable: optimize inserting elements into the hash table
Prevent double lookup in the hash table.
When inserting QBAVs returned from
QMetaMethodBuilderPrivate::parameterTypes() into the table use
QByteArray::fromRawData(), those views will outlive the `strings`
table local variable.
Pick-to: 6.10
Change-Id: I3a4dc4d7608e49da09fcc39056a608726fdd8e80
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/doc/snippets/plaintextlayout/window.cpp')
0 files changed, 0 insertions, 0 deletions
