From fbb2fc6bb513425baae26837694a6c1e208d215c Mon Sep 17 00:00:00 2001 From: Tom Lankhorst Date: Thu, 5 Sep 2019 20:09:41 +0200 Subject: [PATCH] Update Rper-simple example comment (#1508) The example that is 'intended' to be faster is actually faster on clang 8 /w -O3, and marginally slower than the 'simple' example on GCC 9.1 /w -O3 http://quick-bench.com/DrXvcvhjS1zDmMkgxrzIjbMByYA http://quick-bench.com/03VXPgDSxiMAmZMItiEA0iwTJgM --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index a63e3af..7652c3d 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -13387,7 +13387,7 @@ Simple code can be very fast. Optimizers sometimes do marvels with simple code ##### Example, bad - // intended to be faster, but is actually slower + // intended to be faster, but is often slower vector v(100000);