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

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/catch_timer.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2021-12-26 22:10:20 +0100
committerMartin Hořeňovský2021-12-28 00:20:55 +0100
commit45577a1f4c84eca059453908220cbdc7e1d34f93 (patch)
treefd0978d2ef6cc5a975d66d852d59de6cb9ca1812 /src/catch2/catch_timer.cpp
parentcbb6764fb1c22bbd283ea7af6a69d012c470ec58 (diff)
downloadcatch3-45577a1f4c84eca059453908220cbdc7e1d34f93.tar.gz
Refactor implementation of case-insensitivity in tags
By not materializing the lower cased tags ahead of time, we save allocations at the cost of worsened performance when comparing two tags. Since there are rarely many tags, and commonly they are not compared even if present, this is almost always a win. The new implementation also improves the robustness of the code responsible for handling tags in a case-insensitive manner.
Diffstat (limited to 'src/catch2/catch_timer.cpp')
0 files changed, 0 insertions, 0 deletions