diff options
| author | Martin Hořeňovský | 2023-12-23 16:02:37 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2023-12-26 14:40:45 +0100 |
| commit | 2295d2c8ccc0dba4b35adb95ef8946a05996df87 (patch) | |
| tree | 3f52cdf8fbe628f15f654dfcbb79d25c8c43bb3b /src/catch2/interfaces/catch_interfaces_capture.cpp | |
| parent | 2b69a3e2167a7d770bc2c16f4b8138babba3b0ca (diff) | |
| download | catch3-2295d2c8ccc0dba4b35adb95ef8946a05996df87.tar.gz | |
Store Opt/Arg hint and description as StringRef
There is no good reason for these to be std::strings, as these
are just (optional) constants for nice user output. This ends up
reducing the allocations significantly.
When measuring allocations when running no tests, the changes are
`tests/SelfTest` 9213 -> 7705
`tests/ExtraTests/NoTests` 3723 -> 2215
Diffstat (limited to 'src/catch2/interfaces/catch_interfaces_capture.cpp')
0 files changed, 0 insertions, 0 deletions