[phobos] Simplify iota for floating-point types?

Andrei Alexandrescu andrei at erdani.com
Thu Dec 23 10:20:24 PST 2010


Per the recent discussion comparing D with Lua, tests suggest that iota 
for double is too slow. This is a necessity if iota is a bidirectional 
or random-access range. If we allow it to be a forward range, then 
performance would be significantly increased.

Do you agree with making iota for floating-point types a forward range?


Andrei


More information about the phobos mailing list