mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
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
This commit is contained in:
parent
148b1064da
commit
fbb2fc6bb5
|
@ -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<uint8_t> v(100000);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user