CUJ Logo

December 1996
Vol. 14, No. 12

OPTIMIZATION & EFFICIENCY

A Faster memcpy for the Pentium

Steve Durham
If you have to move large quantities of data, the faster you can get the processor to do so the better.

Optimization Tip: Ordering of Nested Loops

Evan Manning

Efficient Band Matrix Computations

Keith Crowe
It often pays to reflect the structure of data in the program that processes it. When the data is an array with many zero elements, the time and space savings can be considerable.

Optimization Tip: Chop Out Needless Roots

Evan Manning

High Precision with Imprecise Methods

Anthony Breitzman

A TestJig Tool for Pentium Optimization

Steve Durham
You have to measure performance from time to time, but that doesn't mean you have to do it all from scratch every time.

FEATURES

Cross-Platform/Embedded Thread Design

Jason Anderson
Debugging multi-threaded code is hard enough. You may as well do as much debugging as possible in a comfortable environment.

A CUGLibrary Update

Victor R. Volkman
The 15-year old C/C++ Users Group Library of source code continues to grow. Victor Volkman describes ten new additions to the CUG CD-ROM.

Testing Math Functions

K. B. Williams
When requirements are tight, we must carefully examine all potential sources of error. Make sure your math library isn't the weak link in the chain.

COLUMNS

Standard C/C++: Containers

P. J. Plauger
Managing collections of objects has long been an essential but tedious part of programming. Finally, Standard C++ promises relief from the drudgery. Here's another thing a long time coming: the 100th installment of this column!

Questions & Answers: Using Conversion Operators

Pete Becker
There are very few places where the Standard C++ library provides conversion operators in standard classes. Pete explains why, and warns of some pitfalls in using conversion operators.

C++ Theory and Practice: Mixing const with Type Names

Dan Saks
Typedefs can simplify declarations, but they don't remove the need to understand declaration syntax. Dan shows why, and adds some comments on style.

The Learning C/C++urve: Potpourri for $100, Alex

Bobby Schmidt
Diligent readers point out a few bugs and join Bobby in singing the woes of Hungarian Notation.

DEPARTMENTS

Editor's Forum

New Products

We Have Mail