diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2025-01-25 20:20:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2025-01-25 22:38:58 +0100 |
commit | d81fc1367653bba68ea08906364d3792dffc4596 (patch) | |
tree | 3f57d474b88b3201ba968297d73905fc7f9f0c77 /icon-themes/colibre/starmath/res/bi21314.png | |
parent | 5e03f4d40c14cc79b1f3f790955196a31eec5d3c (diff) |
Resolves: tdf#164853 find_if causing copy
the pred param of:
const std::pair<QueryKey, QueryCriteriaAndResult>&
doesn't exactly match what the arg should be, which is
const std::pair<const QueryKey, QueryCriteriaAndResult>&
so an unecessary copy is silently created, add and use some typedefs
to make this more straightforward.
seen with:
perf record -e mem_load_l3_hit_retired.xsnp_fwd -e mem_load_l3_hit_retired.xsnp_miss
on profiling specifically for contested accesses, see tma_contested_accesses in perf -v
Change-Id: I1d1a57e49a0f2af8bc57ca22ac4572c0246c719b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180753
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'icon-themes/colibre/starmath/res/bi21314.png')
0 files changed, 0 insertions, 0 deletions