/*
- * Copyright 2014 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
"vulputate quam urna quis eros. Donec vel."
"\n";
-string needle = "commodo";
+const string needle = "commodo";
// legacy implementation
struct AsciiCaseInsensitiveLegacy {
cmp
) - lorem_ipsum.begin();
}
+ doNotOptimizeAway(dummy);
}
BENCHMARK(LegacyCaseInsensitiveCheck, iters) {