1
0
mirror of https://github.com/catchorg/Catch2.git synced 2025-05-03 13:33:53 +00:00
Martin Hořeňovský 2295d2c8cc
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
2023-12-26 14:40:45 +01:00
..
2023-12-23 11:23:32 +01:00
2023-12-23 11:23:32 +01:00
2023-12-10 19:53:39 +01:00
2023-10-28 21:35:03 +02:00
2023-04-29 12:55:51 +02:00
2023-05-12 09:51:13 +02:00
2022-10-28 11:30:15 +02:00
2022-10-28 11:30:15 +02:00
2023-12-11 00:55:40 +01:00
2023-12-11 00:55:40 +01:00
2023-12-10 19:53:39 +01:00