Convert notes into blockquotes
This commit is contained in:
parent
832fb15e54
commit
8ed9dea394
105 changed files with 884 additions and 411 deletions
17
01-04.md
17
01-04.md
|
|
@ -10,9 +10,10 @@ chapter: '01'
|
|||
pages: 013-015
|
||||
---
|
||||
|
||||
------------------- --------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
 *Make sure you understand what really goes on when you insert a seemingly-innocuous function call into the time-critical portions of your code.*
|
||||
------------------- --------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
> 
|
||||
> Make sure you understand what really goes on when you insert a
|
||||
> seemingly-innocuous function call into the time-critical portions of
|
||||
> your code.
|
||||
|
||||
In this case that means knowing how DOS and the C/C++ file-access
|
||||
libraries do their work. In other words, *know the territory*!
|
||||
|
|
@ -74,9 +75,13 @@ that handle the time-critical operations, but C is still used for
|
|||
checking command-line parameters, operning files, printing, and the
|
||||
like.
|
||||
|
||||
------------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
 *If you were to implement any of the listings in this chapter entirely in hand-optimized assembly, I suppose you might get a performance improvement of a few percent—but I rather doubt you'd get even that much, and you'd sure as heck spend an awful lot of time for whatever meager improvement does result. Let C do what it does well, and use assembly only when it makes a perceptible difference.*
|
||||
------------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
> 
|
||||
> If you were to implement any of the listings in this chapter entirely in
|
||||
> hand-optimized assembly, I suppose you might get a performance
|
||||
> improvement of a few percent—but I rather doubt you'd get even that
|
||||
> much, and you'd sure as heck spend an awful lot of time for whatever
|
||||
> meager improvement does result. Let C do what it does well, and use
|
||||
> assembly only when it makes a perceptible difference.
|
||||
|
||||
Besides, we don't want to optimize until the design is refined to our
|
||||
satisfaction, and that won't be the case until we've thought about other
|
||||
|
|
|
|||
Loading…
Reference in a new issue