Skip to content

Commit

Permalink
reevaluated performance
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobiasd committed Apr 11, 2014
1 parent fc1f257 commit 0339377
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions from_goto_to_std-transform.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,11 @@ Even if the `std::transform` version looks like much abstraction induced functio
For 100 million values the different implementations ([source code](https://gist.github.com/Dobiasd/839acc2bc7a1f48a5063)) took the following cpu times on my machine:
```
goto - elapsed time: 0.922896s
while - elapsed time: 0.926507s
for - elapsed time: 0.91674s
range based for - elapsed time: 0.924664s
std::transform - elapsed time: 0.913984s
goto - elapsed time: 0.906895s
while - elapsed time: 0.915255s
for - elapsed time: 0.910748s
range based for - elapsed time: 0.933982s
std::transform - elapsed time: 0.903244s
```
Expand Down

0 comments on commit 0339377

Please sign in to comment.