www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Appreciation for variadic templates and a nicely written article in

Hi everyone,

A note of appreciation. I changed a function to take a variable 
number of arguments. Immediately saw performance degradation in 
callers using it (in very tight loops). This seemed like a 
problem that would be right in D's wheelhouse. A couple of 
searches lead to a very nicely written article on Variadic 
Templates in the D Articles collection. Showed how 
straightforward this is in D. The resulting code was simple and 
performance was restored. Wonderful!

The article: 

Thanks all,

Mar 11