Use proper lists instead of DLs with bullet points
This commit is contained in:
parent
500e7f5654
commit
7e957c0bb4
12 changed files with 83 additions and 83 deletions
18
01-02.html
18
01-02.html
|
|
@ -39,15 +39,15 @@
|
|||
<H3><A NAME="Heading5"></A><FONT COLOR="#000077">Rules for Building High-Performance Code</FONT></H3>
|
||||
<P>We’ve got the following rules for creating high-performance software:
|
||||
</P>
|
||||
<DL>
|
||||
<DD><B>•</B> Know where you’re going (understand the objective of the software).
|
||||
<DD><B>•</B> Make a big map (have an overall program design firmly in mind, so the various parts of the program and the data structures work well together).
|
||||
<DD><B>•</B> Make lots of little maps (design an algorithm for each separate part of the overall design).
|
||||
<DD><B>•</B> Know the territory (understand exactly how the computer carries out each task).
|
||||
<DD><B>•</B> Know when it matters (identify the portions of your programs where performance matters, and don’t waste your time optimizing the rest).
|
||||
<DD><B>•</B> Always consider the alternatives (don’t get stuck on a single approach; odds are there’s a better way, if you’re clever and inventive enough).
|
||||
<DD><B>•</B> Know how to turn on the juice (optimize the code as best you know how when it <I>does</I> matter).
|
||||
</DL>
|
||||
<ul>
|
||||
<li>Know where you’re going (understand the objective of the software).</li>
|
||||
<li>Make a big map (have an overall program design firmly in mind, so the various parts of the program and the data structures work well together).</li>
|
||||
<li>Make lots of little maps (design an algorithm for each separate part of the overall design).</li>
|
||||
<li>Know the territory (understand exactly how the computer carries out each task).</li>
|
||||
<li>Know when it matters (identify the portions of your programs where performance matters, and don’t waste your time optimizing the rest).</li>
|
||||
<li>Always consider the alternatives (don’t get stuck on a single approach; odds are there’s a better way, if you’re clever and inventive enough).</li>
|
||||
<li>Know how to turn on the juice (optimize the code as best you know how when it <I>does</I> matter).</li>
|
||||
</ul>
|
||||
<P>Making rules is easy; the hard part is figuring out how to apply them in the real world. For my money, examining some actual working code is always a good way to get a handle on programming concepts, so let’s look at some of the performance rules in action.
|
||||
</P>
|
||||
<H4 ALIGN="LEFT"><A NAME="Heading6"></A><FONT COLOR="#000077">Know Where You’re Going</FONT></H4>
|
||||
|
|
|
|||
Loading…
Reference in a new issue