Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests/TestScripts/testConfigureDisableStringification.py
diff options
context:
space:
mode:
authorMartin Hořeňovský2023-01-27 22:12:57 +0100
committerMartin Hořeňovský2023-01-29 10:14:20 +0100
commit43f02027e47310e200f20f5c3a1de6fe281e2f81 (patch)
treed0a0f722915ee180eaed42d6d4fac553f758cee1 /tests/TestScripts/testConfigureDisableStringification.py
parent906552f8c831d0dd1917484b53dd080537f19acd (diff)
downloadcatch3-43f02027e47310e200f20f5c3a1de6fe281e2f81.tar.gz
Avoid allocations when looking for trackers
Now we delay allocating owning `NameAndLocation` instances until we construct a new tracker (because a tracker's lifetime can be significantly different from the underlying tracked-thing's name). This saves 4239 allocations (436948 -> 432709) when running `./tests/SelfTest -o /dev/null`, at some cost to code clarity due to introducing a new ref type, `NameAndLocationRef`.
Diffstat (limited to 'tests/TestScripts/testConfigureDisableStringification.py')
0 files changed, 0 insertions, 0 deletions