[libcxx-commits] [PATCH] D59781: Add more benchmarks for literal strings.
Samuel Benzaquen via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Mar 25 10:33:26 PDT 2019
sbenza created this revision.
sbenza added a reviewer: EricWF.
Herald added subscribers: libcxx-commits, jdoerfert, christof.
Herald added a project: libc++.
sbenza updated this revision to Diff 192142.
sbenza added a comment.
Fix benchmark for rhs being empty.
Comparing against the empty string should generate much better code that
what it does today.
We can also generate better code when comparing against literals that
are larger than the SSO space.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D59781
Files:
libcxx/benchmarks/string.bench.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59781.192142.patch
Type: text/x-patch
Size: 4503 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190325/1155a6f7/attachment.bin>
More information about the libcxx-commits
mailing list