www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - shouldn't std.perf.PerformanceCounter.stop return the this reference?

Maybe it would be a good idea to make stop's return type  
Many times I immediately need the value, so being able to do  
counter.stop().milliseconds etc. would be shorter and coherent.
Shouldn't add much overhead, should it?
Mar 03 2010