version(number) is completely useless

Kagamin spam at here.lot
Thu Jul 21 08:34:21 UTC 2022


On Wednesday, 20 July 2022 at 18:34:49 UTC, Andrey Zherikov wrote:
> Do you have performance benchmark to share?

Feel free to benchmark this:
```
bool run(int seed)
{
	int a=seed, b=10;
	while(a!=0)
	{
		a+=b; b^=a<<8;
		b+=a; a^=b>>8;
		if(b==0)return true;
	}
	return false;
}
static if(run(2));
```


More information about the Digitalmars-d mailing list