mirror of
https://github.com/pkivolowitz/asm_book.git
synced 2026-06-23 03:46:47 +08:00
Update README.md (#15)
Minor typo/corrections I found while reading this chapter. Thanks for the book! It's been a nice, light read :-)
This commit is contained in:
parent
fa8bb910e3
commit
93389b13dc
1 changed files with 2 additions and 2 deletions
|
|
@ -210,7 +210,7 @@ Our jump table remains the same.
|
||||||
## More strategies for implementing `switch`
|
## More strategies for implementing `switch`
|
||||||
|
|
||||||
As indicated above, an optimizer has at least three tools available to
|
As indicated above, an optimizer has at least three tools available to
|
||||||
it to implement complex `switch` statements. And, it an combine these
|
it to implement complex `switch` statements. And, it can combine these
|
||||||
tools.
|
tools.
|
||||||
|
|
||||||
For example, suppose your cases boil down to two ranges of fairly
|
For example, suppose your cases boil down to two ranges of fairly
|
||||||
|
|
@ -240,5 +240,5 @@ common cases at the top of the `if / else` sequence.
|
||||||
**This is known as making the common case fast.**
|
**This is known as making the common case fast.**
|
||||||
|
|
||||||
Making the common case fast is one of the Great Ideas in Computer
|
Making the common case fast is one of the Great Ideas in Computer
|
||||||
Science. One, you would do well to remember no matter than language
|
Science. One, you would do well to remember no matter what language
|
||||||
you're working with.
|
you're working with.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue