Are these bencmarks recent and real?

H. S. Teoh hsteoh at quickfur.ath.cx
Thu Sep 2 21:29:20 UTC 2021


On Thu, Sep 02, 2021 at 07:42:19PM +0000, Imperatorn via Digitalmars-d wrote:
> On Tuesday, 31 August 2021 at 15:09:11 UTC, Steven Schveighoffer wrote:
> > On 8/30/21 1:15 PM, Ali Çehreli wrote:
> > > [...]
> > 
> > initializers *sometimes* can be computed at compile time. If assigned to
> > a const or immutable variable, the compiler is smart enough to know that
> > the item hasn't changed, and so it can go back to the static initializer
> > for what the value actually is.
> > 
> > [...]
> 
> "Someone" "should" make a D cheat sheet! Like some best practices, tips n
> tricks to stay healthy in the D universe

Well, there's this: https://p0nce.github.io/d-idioms/

But it may be somewhat outdated now.


T

-- 
Why did the mathematician reinvent the square wheel?  Because he wanted to drive smoothly over an inverted catenary road.


More information about the Digitalmars-d mailing list