Replacing tango.text.Ascii.isearch

torhu torhu at yahoo.com
Wed Oct 5 20:40:46 UTC 2022


On Wednesday, 5 October 2022 at 17:29:25 UTC, Steven 
Schveighoffer wrote:
[...]


I wanted to do some quick benchmarking to figure out what works.

When I run this:

```d
import std.stdio;
import std.datetime.stopwatch;

void main()
{
	auto sw = StopWatch();	
	sw.stop();
	writeln(sw.peek().toString());
}
```

It prints this:
> 2 weeks, 6 days, 9 hours, 34 minutes, 43 secs, 214 ms, 946 ╬╝s, 
> and 7 hnsecs

Am I doing something wrong here?


More information about the Digitalmars-d-learn mailing list