Optimizing C++

Provides C++ programmers with a practical, real-world approach to program optimization.

**Tag(s):**
C / C++

**Publication date**: 09 Jul 1998

**ISBN-10**:
0139774300

**ISBN-13**:
9780139774300

**Paperback**:
416 pages

**Views**: 22,956

Optimizing C++

Provides C++ programmers with a practical, real-world approach to program optimization.

Book excerpts:

Optimizing C++ was written to prove that a knowledge of optimization is essential to a professional programmer. A simplistic approach, such as getting more memory or faster processor, is not always feasible. Programmers often have little control over the hardware on which their programs are to be run. That's why Optimizing C++ provides programmers with a practical, real-world approach to program optimization.

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 use 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.

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. And then perhaps you can gain benefit from this book.

Reviews:

Amazon.com

:( "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."

ACCU Reviews

:( "... I have long harboured a suspicion that he is not a C++ programmer. This book confirms that suspicion despite the C++ in the title."

DevX.com

:) "... Optimizing C++ is a heartily recommended guide for every C and C++ programmer who has to make the most of limited time, memory, and disk space."

Optimizing C++ was written to prove that a knowledge of optimization is essential to a professional programmer. A simplistic approach, such as getting more memory or faster processor, is not always feasible. Programmers often have little control over the hardware on which their programs are to be run. That's why Optimizing C++ provides programmers with a practical, real-world approach to program optimization.

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 use 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.

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. And then perhaps you can gain benefit from this book.

Reviews:

Amazon.com

:( "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."

ACCU Reviews

:( "... I have long harboured a suspicion that he is not a C++ programmer. This book confirms that suspicion despite the C++ in the title."

DevX.com

:) "... Optimizing C++ is a heartily recommended guide for every C and C++ programmer who has to make the most of limited time, memory, and disk space."

Tweet

About The Author(s)

No information is available for this author.

Book Categories

Computer Science
Introduction to Computer Science
Introduction to Computer Programming
Algorithms and Data Structures
Artificial Intelligence
Computer Vision
Machine Learning
Neural Networks
Game Development and Multimedia
Data Communication and Networks
Coding Theory
Computer Security
Information Security
Cryptography
Information Theory
Computer Organization and Architecture
Operating Systems
Image Processing
Parallel Computing
Concurrent Programming
Relational Database
Document-oriented Database
Data Mining
Big Data
Data Science
Digital Libraries
Compiler Design and Construction
Functional Programming
Logic Programming
Object Oriented Programming
Formal Methods
Software Engineering
Agile Software Development
Information Systems
Geographic Information System (GIS)

Mathematics
Mathematics
Algebra
Abstract Algebra
Linear Algebra
Number Theory
Numerical Methods
Precalculus
Calculus
Differential Equations
Category Theory
Proofs
Discrete Mathematics
Theory of Computation
Graph Theory
Real Analysis
Complex Analysis
Probability
Statistics
Game Theory
Queueing Theory
Operations Research
Computer Aided Mathematics

Supporting Fields
Web Design and Development
Mobile App Design and Development
System Administration
Cloud Computing
Electric Circuits
Embedded System
Signal Processing
Integration and Automation
Network Science
Project Management

Operating System
Programming/Scripting
Ada
Assembly
C / C++
Common Lisp
Forth
Java
JavaScript
Lua
Microsoft .NET
Rexx
Perl
PHP
Python
R
Rebol
Ruby
Scheme
Tcl/Tk

Miscellaneous
Sponsors