diff options
| author | Martin Hořeňovský | 2023-12-26 11:55:19 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2023-12-26 15:11:48 +0100 |
| commit | c57e349d1d62fcdf96aef576a5c200ae2078daad (patch) | |
| tree | 39673adb0e665442435aa6bbaf1a4fd934e4bff6 /src/catch2/generators/catch_generators.cpp | |
| parent | 822c44a20395c6194d527110d59f7513a55b885c (diff) | |
| download | catch3-c57e349d1d62fcdf96aef576a5c200ae2078daad.tar.gz | |
Avoid copying Clara::Parser for every inserted Opt
This prevents the full construction from being O(N^2) in number
of `Opt`s, and also reduces the number of allocations for running
no tests significantly:
`tests/SelfTest`: 7705 -> 6095
`tests/ExtraTests/NoTests` 2215 -> 605
Diffstat (limited to 'src/catch2/generators/catch_generators.cpp')
0 files changed, 0 insertions, 0 deletions