digitalmars.D - shouldn't std.perf.PerformanceCounter.stop return the this reference?
- Trass3r (5/5) Mar 03 2010 Maybe it would be a good idea to make stop's return type
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?
Mar 03 2010