static array litteral syntax using a library solution (no GC and 40x faster!)

timotheecour thelastmammoth at gmail.com
Sun Feb 3 01:28:03 PST 2013


actually, we can use
"T0[T.length]ret=void;"
instead of
"T0[T.length]ret;"
inside the definition of S. It doesn't make a difference for ldc 
which optimizes it away, but it does for dmd (which is also about 
10x slower than ldc).


More information about the Digitalmars-d mailing list