FREE Subscription to Dr. Dobb’s Digest: Same Great Content, New Digital Edition
Site Archive (Complete)
C++ Blog: Editor's Note
C++
void main(void)

Calls, Returns and In-Between.

by Kevin Carlson
SELECTIVE IGNORANCE

Finding the Signal in the Noise

by Andrew Koenig
May 10, 2006

Editor's Note

Richard Vaughan's article, Hares, Tortoises, and the Decorator Pattern compares and tests overhead incurred in dynamic vs. static creation of decorator chains: sequences of objects of identical type but diverse function.

Vaughan proposes that, perhaps contrary to intuition, use of recursive templating to create static decorator chains offers the same advantages as dynamic approaches, plus several additional benefits, including simplified optimisation and reduced use of pointers; and can, in many cases, produce tighter code.

Posted by Kevin Carlson at 05:19 PM  Permalink




 
INFO-LINK