This book provides C and C++ programmers with invaluable tools for optimizing their code to run "large problems" on "small machines." Optimization is presented at the algorithmic level, and explanations are provided for how to re-think and re-cast applications to make them work more efficiently. Includes a disk containing source code for all examples found in the book.
"synopsis" may belong to another edition of this title.
This book provides C and C++ programmers with invaluable tools for optimizing their code. Optimization is presented at the algorithmic level and explanations are provided for how to rethink and recast applications to make them work more efficiently. Numerous programming techniques are covered, including sorting, hashing, data compression, and the quantum file access method, which allows efficient access to records whos sizes vary dynamically.
You'll find that attitude again and again throughout this book: What's good is what works, and works efficiently; that is, without spending either space or cycles to no clear gain. Steve is not afraid to create a data structure that bows to the inevitable peccadilloes of the underlying hardware, if doing so will make it a more efficient data structure. Steve's totally awesome quantum file access algorithm (see Chapter 7) is a superb example. It's an algorithm, yes, but it was brought to life with the express intent that it run efficiently on late-build Intel processors-- primarily the 486.
Hey, if you want portability, be prepared to pay for it.
So let me make a few suggestions: Read this book, from start to finish, and while doing so set aside any preconceived notions you may have about "beautiful" code, or portable code, or lord knows, fast code. (Recursion, for example, is "beautiful." It's also dangerous, and slow.) Also, don't just look at the code. Load it, compile it, run it, understand it--not just as code, but as an element of a larger system that includes--rather than willfully ignores--the underlying hardware.
Once you do that, you will have learned a lot.
Not just theoretically. For real--and for all time.
"About this title" may belong to another edition of this title.
Shipping:
FREE
Within U.S.A.
Seller: SecondSale, Montgomery, IL, U.S.A.
Condition: Very Good. Item in very good condition! Textbooks may not include supplemental items i.e. CDs, access codes etc. Seller Inventory # 00084257023
Quantity: 1 available
Seller: Better World Books, Mishawaka, IN, U.S.A.
Condition: Very Good. Subsequent. Used book that is in excellent condition. May show signs of wear or have minor defects. Seller Inventory # 3108070-6
Quantity: 1 available
Seller: Better World Books, Mishawaka, IN, U.S.A.
Condition: Good. Subsequent. Used book that is in clean, average condition without any missing pages. Seller Inventory # 3108069-20
Quantity: 2 available
Seller: WorldofBooks, Goring-By-Sea, WS, United Kingdom
Paperback. Condition: Very Good. The book has been read, but is in excellent condition. Pages are intact and not marred by notes or highlighting. The spine remains undamaged. Seller Inventory # GOR001254066
Quantity: 2 available
Seller: Goodwill of Silicon Valley, SAN JOSE, CA, U.S.A.
Condition: good. Supports Goodwill of Silicon Valley job training programs. The cover and pages are in Good condition! Any other included accessories are also in Good condition showing use. Use can include some highlighting and writing, page and cover creases as well as other types visible wear. Seller Inventory # GWSVV.0123390958.G
Quantity: 1 available
Seller: Blue Vase Books, Interlochen, MI, U.S.A.
Condition: good. Seller Inventory # 31UTLL0055L9_ns
Quantity: 1 available
Seller: BooksByLisa, Highland Park, IL, U.S.A.
Soft cover. Condition: New. PHOTO AND VIDEO OF PAGES TAKEN TO SHOW CONDITION PRIOR TO SHIPPING; PHOTOS EMAILED FOR MORE SPECIFICS WHEN REQUESTED; Book. Seller Inventory # 6435
Quantity: 1 available
Seller: The Book Spot, Sioux Falls, MN, U.S.A.
Paperback. Condition: New. Seller Inventory # Abebooks51816
Quantity: 1 available