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.
Seller: World of Books (was SecondSale), Montgomery, IL, U.S.A.
Condition: Good. Item in good condition. Textbooks may not include supplemental items i.e. CDs, access codes etc. Seller Inventory # 00092362993
Seller: BombBooks, King of prussia, PA, U.S.A.
Condition: Good. May contain highlighting, handwriting or underlining through out the book. Book may show some wear. Used books may not contain supplements such as access codes, CDs, etc. Every item ships the same or next business day with tracking number emailed to you. Seller Inventory # 3U1IBA003MDD_ns
Seller: ThriftBooks-Dallas, Dallas, TX, U.S.A.
Paperback. Condition: Good. No Jacket. Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less. Seller Inventory # G0123390958I3N00
Seller: ThriftBooks-Atlanta, AUSTELL, GA, U.S.A.
Paperback. Condition: Good. No Jacket. Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less. Seller Inventory # G0123390958I3N00
Seller: HPB-Red, Dallas, TX, U.S.A.
paperback. Condition: Good. Connecting readers with great books since 1972! Used textbooks may not include companion materials such as access codes, etc. May have some wear or writing/highlighting. We ship orders daily and Customer Service is our top priority! Seller Inventory # S_410189350
Seller: AwesomeBooks, Wallingford, United Kingdom
Paperback. Condition: Very Good. Efficient C/C++ Programming: Smaller, Faster, Better This book is in very good condition and will be shipped within 24 hours of ordering. The cover may have some limited signs of wear but the pages are clean, intact and the spine remains undamaged. This book has clearly been well maintained and looked after thus far. Money back guarantee if you are not satisfied. See all our books here, order more than 1 book and get discounted shipping. Seller Inventory # 7719-9780123390950
Quantity: 2 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. Book. Seller Inventory # 6435
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: 1 available
Seller: WorldofBooks, Goring-By-Sea, WS, United Kingdom
Paperback. Condition: Good. The book has been read but remains in clean condition. All pages are intact and the cover is intact. Some minor wear to the spine. Seller Inventory # GOR004246453
Quantity: 1 available
Seller: Bahamut Media, Reading, United Kingdom
Paperback. Condition: Very Good. This book is in very good condition and will be shipped within 24 hours of ordering. The cover may have some limited signs of wear but the pages are clean, intact and the spine remains undamaged. This book has clearly been well maintained and looked after thus far. Money back guarantee if you are not satisfied. See all our books here, order more than 1 book and get discounted shipping. Seller Inventory # 6545-9780123390950
Quantity: 1 available