Strip comments and inline ids onto h*
This commit is contained in:
parent
1997a7846d
commit
0f5f617adb
362 changed files with 2519 additions and 6694 deletions
25
16-01.html
25
16-01.html
|
|
@ -10,16 +10,9 @@
|
|||
<meta name="vspubdate" content="07/01/97" />
|
||||
<meta name="vscategory" content="Web and Software Development: Game Development,Web and Software Development: Graphics and Multimedia Development" />
|
||||
|
||||
<title>Michael Abrash's Graphics Programming Black Book Special Edition: There Ain't No Such Thing as the Fastest Code</title><!-- HEADER -->
|
||||
<!-- Empty Reference Subhead -->
|
||||
<!--ISBN=1576101746//-->
|
||||
<!--TITLE=Michael Abrash's Graphics Programming Black Book Special Edition//-->
|
||||
<!--AUTHOR=Michael Abrash//-->
|
||||
<!--PUBLISHER=The Coriolis Group, Inc.//-->
|
||||
<title>Michael Abrash's Graphics Programming Black Book Special Edition: There Ain't No Such Thing as the Fastest Code</title>
|
||||
<meta name="chapter" content="16" />
|
||||
<meta name="pages" content="295-300" />
|
||||
<!--UNASSIGNED1//-->
|
||||
<!--UNASSIGNED2//-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
@ -37,10 +30,10 @@
|
|||
|
||||
<p><br /></p>
|
||||
|
||||
<h2><a id="Heading1"></a>Chapter 16<br />
|
||||
<h2 id="Heading1">Chapter 16<br />
|
||||
There Ain’t No Such Thing as the Fastest Code</h2>
|
||||
|
||||
<h3><a id="Heading2"></a>Lessons Learned in the Pursuit of the Ultimate Word Counter</h3>
|
||||
<h3 id="Heading2">Lessons Learned in the Pursuit of the Ultimate Word Counter</h3>
|
||||
|
||||
<p>I remember reading an overview of C<small>++</small> development tools for Windows in a past issue of <i>PC Week</i>. In the lower left corner was the familiar box listing the 10 leading concerns of corporate buyers when it comes to C<small>++</small>. Boiled down, the list looked like this, in order of descending importance to buyers:</p>
|
||||
|
||||
|
|
@ -68,7 +61,7 @@
|
|||
|
||||
<p>Is something missing here? You bet your maximum <i>gluteus</i> something’s missing—nowhere on that list is there so much as one word about how fast the compiled code runs! I’m not saying that performance is everything, but optimization isn’t even down there at number 10, below online help! Ye gods and little fishes! We are talking here about people who would take a bus from LA to New York instead of a plane because it had a cleaner bathroom; who would choose a painting from a Holiday Inn over a Matisse because it had a fancier frame; who would buy a Yugo instead of—well, hell, anything—because it had a nice owner’s manual and particularly attractive keys. We are talking about people who are focusing on means, and have forgotten about ends. We are talking about people with no programming souls.</p>
|
||||
|
||||
<h3><a id="Heading3"></a>Counting Words in a Hurry</h3>
|
||||
<h3 id="Heading3">Counting Words in a Hurry</h3>
|
||||
|
||||
<p>What are we to make of this? At the very least, we can safely guess that very few corporate buyers ever enter optimization contests. Most of my readers do, however; in fact, far more than I thought ever would, but that gladdens me to no end. I issued my first optimization challenge in a “Pushing the Envelope” column in <i>PC TECHNIQUES</i> back in 1991, and was deluged by respondents who, one might also gather, do not live by <i>PC Week</i>.</p>
|
||||
|
||||
|
|
@ -128,7 +121,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
|
||||
<p><b>LISTING 16.1 L16-1.C</b></p><!-- CODE //-->
|
||||
<p><b>LISTING 16.1 L16-1.C</b></p>
|
||||
<pre>
|
||||
/* Word-counting program. Tested with Borland C++ in C
|
||||
compilation mode and the small model. */
|
||||
|
|
@ -203,7 +196,7 @@
|
|||
return(0);
|
||||
}
|
||||
|
||||
</pre><!-- END CODE //-->
|
||||
</pre>
|
||||
|
||||
<p><br /></p>
|
||||
|
||||
|
|
@ -222,10 +215,6 @@
|
|||
|
||||
<div align="center">
|
||||
Graphics Programming Black Book © 2001 Michael Abrash
|
||||
</div><!-- all of the reference materials (books) have the footer and subfoot reveresed -->
|
||||
<!-- reference_subfoot = footer -->
|
||||
<!-- reference_footer = subfoot -->
|
||||
<!-- BEGIN SUB FOOTER -->
|
||||
<!-- END FOOTER -->
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Reference in a new issue