diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-09-10 15:25:07 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-09-10 15:25:07 -0400 |
commit | 26efc7e376ef52284a6281f36cf45eb03bc13507 (patch) | |
tree | 389564bf0eeac27274cad06aadd2342d1768126f /indra/CMakeLists.txt | |
parent | b8678d8fa3521f4496ddc569de391633711e46cb (diff) |
Pass std::string_view by value, not by const reference.
Consensus seems to be that (a) string_view is, in effect, already a reference,
(b) it's small enough to make pass-by-value reasonable and (c) the optimizer
can reason about values way better than it can about references.
Diffstat (limited to 'indra/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions