Other Examples of Table Lookups
A few other examples of table lookups appear in other sections of the book. They're used in the course of discussing other techniques, and the contexts don't emphasize the table lookups per se. Here's where you'll find them:
Looking up rates in an insurance table: Creating Loops Easily—From the Inside Out
Using decision tables to replace complicated logic: "Use decision tables to replace complicated conditions" in Boolean Expressions.
Cost of memory paging during a table lookup: Kinds of Fat and Molasses
Combinations of boolean values (A or B or C): "Substitute Table Lookups for Complicated Expressions" in Logic
Precomputing values in a loan repayment table: Expressions.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access