diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-01-24 09:26:54 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-01-24 21:11:22 +0100 |
commit | af2d9bc3c46818f2b99056e5407493f0830dab3b (patch) | |
tree | f88e7f81ea0f6ae5bbdde7eca31ec584f8e0f59e /tests/benchmarks/gui/painting/qtransform/tst_qtransform.cpp | |
parent | d1639da0d593642f65558e323da6f6d54bc65f3b (diff) |
Optimize finding UTF-16 needles in L1 haystacks
We were converting the full L1 haystack to UTF-16. But, even so, we
won't be able to find non-L1 UTF-16 needles in L1 haystacks!
Optimize by converting the needle (not the haystack) to L1, after
checking it's actually L1.
Pick-to: 6.3
Change-Id: I413d7a602d44ecb2d3149dc4fa87c690c40e6aaa
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests/benchmarks/gui/painting/qtransform/tst_qtransform.cpp')
0 files changed, 0 insertions, 0 deletions