Deduped images

This commit is contained in:
James Gregory 2013-12-30 12:25:34 +11:00
commit 9e52de9586
233 changed files with 128 additions and 128 deletions

View file

@ -39,7 +39,7 @@
<H3><A NAME="Heading9"></A><FONT COLOR="#000077">Levels of Optimization</FONT></H3>
<P>Three levels of optimization were evident in the word-counting entries I received in response to my challenge. I&#146;d briefly describe them as &#147;fine-tuning,&#148; &#147;new perspective,&#148; and &#147;table-driven state machine.&#148; The latter categories produce faster code, but, by the same token, they are harder to design, harder to implement, and more difficult to understand, so they&#146;re suitable for only the most demanding applications. (Heck, I don&#146;t even guarantee that David Stafford&#146;s entry works perfectly, although, knowing him, it probably does; the more complex and cryptic the code, the greater the chance for obscure bugs.)
</P>
<TABLE WIDTH="100%"><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="5%"><IMG SRC="images/16-04i.jpg"><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="95%"><SMALL><I>Remember, optimize only when needed, and stop when further optimization will not be noticed. Optimization that&#146;s not perceptible to the user is like buying Telly Savalas a comb; it&#146;s not going to do any harm, but it&#146;s nonetheless a waste of time.</I></SMALL>
<TABLE WIDTH="100%"><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="5%"><IMG SRC="images/i.jpg"><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="95%"><SMALL><I>Remember, optimize only when needed, and stop when further optimization will not be noticed. Optimization that&#146;s not perceptible to the user is like buying Telly Savalas a comb; it&#146;s not going to do any harm, but it&#146;s nonetheless a waste of time.</I></SMALL>
</TABLE>
<H4 ALIGN="LEFT"><A NAME="Heading10"></A><FONT COLOR="#000077">Optimization Level 1: Good Code</FONT></H4>
<P>The first level of optimization involves fine-tuning and clever use of the instruction set. The basic framework is still the same as my code (which in turn is basically the same as that of the original C code), but that framework is implemented more efficiently.