Optimizing C ++

3.0 out of 5 stars 4 ratings
ISBN-13: 978-0139774300
ISBN-10: 0139774300
Why is ISBN important?
ISBN
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Share
Loading your book clubs
There was a problem loading your book clubs. Please try again.
Not in a club? Learn more
Amazon book clubs early access

Join or create book clubs

Choose books together

Track your books
Bring your club to Amazon Book Clubs, start a new book club and invite your friends to join, or find a club that’s right for you for free.
Buy used:
$15.48
Used: Good | Details
Condition: Used: Good
Comment: Spine creases, wear to binding and pages from reading. May contain limited notes, underlining or highlighting that does affect the text. Possible ex library copy, will have the markings and stickers associated from the library. Accessories such as CD, codes, toys, may not be included.
Access codes and supplements are not guaranteed with used items.
FREE delivery May 11 - 16. Details

Explore books for Asian American and Pacific Islander Heritage Month

Editorial Reviews

Amazon.com Review

Written in an exceptionally clear style that doesn't skimp on technical detail, Steve Heller's guide offers several high-performance search and data-compression algorithms, which are all you need to add speed to C++. Early sections of the book address the advantages of optimizing C++, which the author considers something of a lost art. Instead of just investing in faster hardware, the author makes the case that optimizing code can result in faster, more useful programs.

The heart of Optimizing C++ consists of several case studies of database problems that show various searching and compression algorithms, the author's source code, and careful explanation of the solutions. The author users hash coding, caching, Radix40, and binary-coded decimal (BCD) data representation in a supermarket price-lookup database. Distribution-counting sort algorithms and bitmaps that store data efficiently are both used to help build a mailing-list system. In some of the most useful sections of this book, the author looks at Huffman coding and dynamic hashing.

In every case, the author takes care to explain the details of each algorithm and its advantages and disadvantages for your own code. The book closes with a handy listing of all the algorithms presented and a thorough glossary for the terms used in the text. In all, Optimizing C++ presents some excellent C++ expertise, explained with enough clarity for even beginning or intermediate programmers. --Richard Dragan

From the Inside Flap

Preface

Imagine that you are about to finish a relatively large program, one that has taken a few weeks or months to write and debug. Just as you are putting the finishing touches on it, you discover that it is either too slow or runs out of memory when you feed it a realistic set of input data. You sigh, and start the task of optimizing it. But why optimize? If your program doesn't fit in memory, you can just get more memory; if it is too slow, you can get a faster processor. I have written Optimizing C++ because I believe that this common attitude is incorrect, and that a knowledge of optimization is essential toa professional programmer. One very important reason is that we often have little control over the hardware on which our programs are to be run. In this situation, the simplistic approach of adding more hardware is not feasible. Optimizing C++ provides working programmers and those who intend to be working programmers with practical, real-world approach to program optimization. Many of the optimization techniques presented are derived from my reading of academic journals that are, sadly, little known in the programming community. This book also draws on my nearly 30 years of experience as a programmer in diverse fields of application, during which I have become increasingly concerned about the amount of effort spent in reinventing optimization techniques rather than applying those already developed.
The first question you have to answer is whether your program needs optimization at all. If it does, you have to determine what part of the program is the culprit, and what resource is being overused. Chapter 1 indicates a method of attack on these problems, as well as a real-life example. All of the examples in this book were compiled with both Microsoft's Visual C++ 5.0 and the DJGPP compiler, written and copyrighted by DJ Delorie. The latter compiler, along with all the source code for the examples, is on the CD in the back of this book. The CD also includes RHIDE, an integrated development environment for the DJGPP compiler, written and copyrighted by Robert Hoehne. All of the timings and profiling statistics, unless otherwise noted, were the result of running the corresponding program compiled with Visual C++ 5.0 on my Pentium II 233 Megahertz machine with 64 megabytes of memory. I am always happy to receive correspondence from readers. If you wish to contact me, the best way is to visit my WWW page. At the moment, you can reach my page by going to any of the following addresses:

dos32/heller/heller.I should also tell you how the various typefaces are used in the book. HelveticaNarrow is used for program listings, for terms used in programs, and for words defined by the C++ language. Italics are used primarily for technical terms that are found in the glossary, although they are also used for emphasis in some places. The first time that I use a particular technical term that you might not know, it is in bold face.


Star Wars, a galaxy a download away

Product details

  • Publisher ‏ : ‎ Prentice Hall (July 9, 1998)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 416 pages
  • ISBN-10 ‏ : ‎ 0139774300
  • ISBN-13 ‏ : ‎ 978-0139774300
  • Item Weight ‏ : ‎ 2.05 pounds
  • Dimensions ‏ : ‎ 7.25 x 1.5 x 9.5 inches
  • Customer Reviews:
    3.0 out of 5 stars 4 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Discover more of the author’s books, see similar authors, read author blogs and more

Customer reviews

3.0 out of 5 stars
3 out of 5
4 global ratings
5 star
50%
4 star 0% (0%) 0%
3 star 0% (0%) 0%
2 star 0% (0%) 0%
1 star
50%

Top reviews from the United States

Reviewed in the United States on October 25, 1999
15 people found this helpful
Report abuse
Reviewed in the United States on February 12, 2000
3 people found this helpful
Report abuse
Reviewed in the United States on April 7, 1999
4 people found this helpful
Report abuse
Reviewed in the United States on March 30, 1999
One person found this helpful
Report abuse