| |||||||||||||||
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
Product Details
Would you like to update product info or give feedback on images?
|
|
Share your thoughts with other customers:
|
||||||||||||||||||||||
|
Most Helpful Customer Reviews
14 of 16 people found the following review helpful:
1.0 out of 5 stars
Not C++ and not optimizing C++,
By
This review is from: Optimizing C ++ (Paperback)
This book is a collection of specific techniques, such as algorithms for sorting and data compression. Unless you have a very specialist need, these techniques are unlikely to be useful - these things are carried out by 3rd party products or using simpler, but perfectly adequate methods in most applications.The author also seems to demonstrate either an alarming lack of knowledge of C++ or the code within is the subject of a very basic C to C++ conversion. Basic errors abound, lack of variable initialisation is everywhere, C features are used where better C++ features exist. Additionally, the code typesetting is poor, indentation varies wildly from place to place. Not recommended, because i) the title is misleading and ii) the code within is very poor C++. Try Scott Meyers Effective C++ and More Effective C++ or Large Scale C++ Software Design by John Lakos instead.
8 of 9 people found the following review helpful:
3.0 out of 5 stars
Misleading C++,
By
This review is from: Optimizing C ++ (Paperback)
Cons: As the guys have already mentioned this book has virtually (: nothing to do with C++ - specific optimization. Using the "class" keyword in the book a couple of times hardly justifies the title. What especially pisses me off is the "Based on the new ANSI Standard C++" quote on the cover. The poorly-formatted code which takes up 1/2 the book is really annoying, too. Pros: But aside that the book presents a bunch of useful specific techniques which are rarely covered in other books. If you find a place for these techniques in your code the book may be a life-saver. Source is included on disk. Overall: I would not reccomend buying the book before finding out whether the included material is relevant. For a good C++ - specific performance-issue book see Efficient C++ by Dov Bulka. It covers inheritance, inlining, templates, temporaries - REAL C++ issues, and I found it quite readable. max khesin.
3 of 3 people found the following review helpful:
1.0 out of 5 stars
Should be Optimizing C, not C++,
This review is from: Optimizing C ++ (Paperback)
I think the book illustrated some useful implementations of speedy algorithms, but it is in no way is related to C++. When you see fopen, malloc, and free being used in every program, that should tell you something about how much useful C++ is contained within. I was disappointed with what I read within for the most part. The timings in the first chapter were performed on a 33 MHz i386, come on. That machine is ancient and does not represent any of some of the greatest computational architectural advances of all time. If you want to learn in limited scope, specific case speedups to C code, this book is for you. It is not for me.
Share your thoughts with other customers: Create your own review
|
|
Suggested Tags from Similar Products(What's this?)Be the first one to add a relevant tag (keyword that's strongly related to this product).
|
|
This product's forum
Active discussions in related forums
Search Customer Discussions
|
Related forums
|