diff options
author | Abseil Team <absl-team@google.com> | 2020-11-09 04:09:55 -0800 |
---|---|---|
committer | Mark Barolak <mbar@google.com> | 2020-11-09 14:47:43 -0500 |
commit | a4798817e824a5c45689933bc62338f3c7d6961b (patch) | |
tree | 8fc15ab0a4c9aedf3c367aa068fa29143399f8e2 /absl/numeric/int128_stream_test.cc | |
parent | e96d49687d9c078f2d47356b6723c3b5715493f7 (diff) |
Export of internal Abseil changes
--
197bd3e5e315f408bdc2f7111a0652be7f47609f by Jorg Brown <jorg@google.com>:
ConvertibleToStringView wastes a lot of cycles initializing a std::string
member that it never uses. This CL restricts ConvertibleToStringView to just
the cases that don't nned a std::string member, and uses an additional StrSplit
overload to catch when users pass a temporary string.
This makes StrSplit() 0-30% faster depending on the use case.
PiperOrigin-RevId: 341378221
GitOrigin-RevId: 197bd3e5e315f408bdc2f7111a0652be7f47609f
Change-Id: Id863f2a3d298ed5a086ac912afab42dc30601be5
Diffstat (limited to 'absl/numeric/int128_stream_test.cc')
0 files changed, 0 insertions, 0 deletions