Re: Compile time performance for metaprogramming is somewhat inconsistent

2016-03-03 Thread Steven Schveighoffer via Digitalmars-d
On 3/2/16 9:33 PM, maik klein wrote: On Thursday, 3 March 2016 at 02:26:09 UTC, cym13 wrote: On Thursday, 3 March 2016 at 02:03:01 UTC, maik klein wrote: Consider the following code void main() { import std.stdio; import std.range: iota, join; import std.algorithm.iteration: map;

Re: Compile time performance for metaprogramming is somewhat inconsistent

2016-03-03 Thread maik klein via Digitalmars-d
On Thursday, 3 March 2016 at 11:40:29 UTC, John Colvin wrote: On Thursday, 3 March 2016 at 02:03:01 UTC, maik klein wrote: Consider the following code void main() { import std.stdio; import std.range: iota, join; import std.algorithm.iteration: map; import std.conv: to;

Re: Compile time performance for metaprogramming is somewhat inconsistent

2016-03-03 Thread Stefan Koch via Digitalmars-d
On Thursday, 3 March 2016 at 02:03:01 UTC, maik klein wrote: Consider the following code void main() { import std.stdio; import std.range: iota, join; import std.algorithm.iteration: map; import std.conv: to; import std.meta: aliasSeqOf, staticMap, AliasSeq; enum types =

Re: Compile time performance for metaprogramming is somewhat inconsistent

2016-03-03 Thread John Colvin via Digitalmars-d
On Thursday, 3 March 2016 at 02:03:01 UTC, maik klein wrote: Consider the following code void main() { import std.stdio; import std.range: iota, join; import std.algorithm.iteration: map; import std.conv: to; import std.meta: aliasSeqOf, staticMap, AliasSeq; enum types =

Re: Compile time performance for metaprogramming is somewhat inconsistent

2016-03-02 Thread maik klein via Digitalmars-d
On Thursday, 3 March 2016 at 02:26:09 UTC, cym13 wrote: On Thursday, 3 March 2016 at 02:03:01 UTC, maik klein wrote: Consider the following code void main() { import std.stdio; import std.range: iota, join; import std.algorithm.iteration: map; import std.conv: to; import

Re: Compile time performance for metaprogramming is somewhat inconsistent

2016-03-02 Thread cym13 via Digitalmars-d
On Thursday, 3 March 2016 at 02:03:01 UTC, maik klein wrote: Consider the following code void main() { import std.stdio; import std.range: iota, join; import std.algorithm.iteration: map; import std.conv: to; import std.meta: aliasSeqOf, staticMap, AliasSeq; enum types =

Compile time performance for metaprogramming is somewhat inconsistent

2016-03-02 Thread maik klein via Digitalmars-d
Consider the following code void main() { import std.stdio; import std.range: iota, join; import std.algorithm.iteration: map; import std.conv: to; import std.meta: aliasSeqOf, staticMap, AliasSeq; enum types = "AliasSeq!(" ~ iota(0,1).map!(i =>