diff options
Diffstat (limited to 'documentation/bubblesort.html')
-rw-r--r-- | documentation/bubblesort.html | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/documentation/bubblesort.html b/documentation/bubblesort.html index 7c1f2bc..2c94652 100644 --- a/documentation/bubblesort.html +++ b/documentation/bubblesort.html @@ -164,8 +164,9 @@ echo("Scripted: ".($scripted - $native)." seconds\n"); </code></pre> </p> <p> - This is the output on from a regular laptop. You can see that the native C++ - implementation is about ten times as fast as the PHP implementation. + This is the output on a regular laptop. You can see that the native C++ + implementation is more than ten times faster than the PHP implementation. +</p> <p> <pre> Native: 0.79793095588684 seconds @@ -176,7 +177,7 @@ Scripted: 8.9202060699463 seconds <p> C++ is faster - much faster - than code in PHP, even for very simple scripts. The source code for an extension written in C++ is almost identical to the - source of the same algorithm in PHP. Every programmer that is capable of - writing a PHP script, could just as well write it in C++ and get a ten times - better performance. + source of the same algorithm in PHP. This means that every programmer that + is capable of writing a PHP script, could just as well write it in C++ and + get a ten times better performance. </p> |