Convert figure images to markdown
This commit is contained in:
parent
307b59584f
commit
77a95ec319
115 changed files with 218 additions and 403 deletions
6
05-02.md
6
05-02.md
|
|
@ -37,8 +37,7 @@ to check out the actual machine-code implementation of **memcmp()** from
|
|||
your compiler. If necessary, you could always write your own assembly
|
||||
language implementation of **memcmp()**.
|
||||
|
||||
\
|
||||
**Figure 5.1** *The brute-force searching technique.*
|
||||

|
||||
|
||||
Invoking **memcmp()** for each potential match location works, but
|
||||
entails considerable overhead. Each comparison requires that parameters
|
||||
|
|
@ -70,8 +69,7 @@ searched and the string we're searching for. Our engine also relies
|
|||
heavily on repeated string instructions, assuming that the **memchr()**
|
||||
and **memcmp()** library functions are properly coded.
|
||||
|
||||
\
|
||||
**Figure 5.2** *The faster string-searching technique.*
|
||||

|
||||
|
||||
We're going to go with the this approach in our file-searching program;
|
||||
the only trick lies in deciding how to integrate this approach with
|
||||
|
|
|
|||
Loading…
Reference in a new issue