Commits

Shlomi Fish  committed 62ed042

Correct some typos on the optimisation page.

  • Participants
  • Parent commits 9a78709

Comments (0)

Files changed (3)

 
 * Update the copy of Modern Perl to the latest edition.
 
+* "So benchmark your code, see how well it performs and then continue
+reading this page if it is indeed too slow." - missing comma.
+
+
 
 * Mention Strawberry Perl and DWIM Perl on the MS Windows Page.
 
-* "So benchmark your code, see how well it performs and then continue
-reading this page if it is indeed too slow." - missing comma.
-
 Long Term:
 ----------
 

File src/topics/optimising-and-profiling/index.html.wml

 Before you try to make your code run faster, you should first make
 sure that it is too slow for your needs. After all, spending time profiling
 and optimising an already performant code will not yield any benefits for
-production. So benchmark your code, see how well it performs and then continue
+production. So benchmark your code, see how well it performs, and then continue
 reading this page if it is indeed too slow. As a corrolary, when writing
 code, always make sure you optimise for clarity and correctness first, not
 for speed.
 
 <p>
 If your program is not using <a href="$(ROOT)/uses/databases/">a database</a>
-of some sort, then using it may yield a substantial speed improvement.
-See <a href="$(ROOT)/uses/databases">our page</a> about using database with
-Perl for more information.
+of some sort, then converting it to use one may yield a substantial speed
+improvement. See <a href="$(ROOT)/uses/databases">our page</a> about using
+databases with Perl for more information.
 </p>
 
 <h3 id="write_in_faster_lang">Optimise by