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

Trass3r un at known.com
Wed Mar 3 14:10:51 PST 2010


Maybe it would be a good idea to make stop's return type  
PerformanceCounter.
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?



More information about the Digitalmars-d mailing list