HomePhabricator

Add more benchmarks for literal strings.

Authored by sbenza on Apr 3 2019, 10:40 AM.

Description

Add more benchmarks for literal strings.

Summary:
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.

Reviewers: EricWF

Subscribers: christof, jdoerfert, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D59781

llvm-svn: 357614

Details

Committed
sbenzaApr 3 2019, 10:40 AM
Differential Revision
D59781: Add more benchmarks for literal strings.
Parents
rG8a497a958be1: [pstl] Improve the parallel version of std::equal
Branches
Unknown
Tags
Unknown