summaryrefslogtreecommitdiff
path: root/documentation/bubblesort.html
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-07 17:33:29 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-07 17:33:29 +0100
commitc677788f5194d1405315c2fd19ec69f3ee571ac2 (patch)
tree7533856ed6eb4104f19fe0107a84a46895f12f44 /documentation/bubblesort.html
parent8f7e2f6788ea91c6e70cb1e5afebd66c8acedcdb (diff)
update documentation, added top 10
Diffstat (limited to 'documentation/bubblesort.html')
-rw-r--r--documentation/bubblesort.html11
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>