http://d.puremagic.com/issues/show_bug.cgi?id=11077
Summary: iota() should be statically specialized for increment
1
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Andrei Alexandrescu <[email protected]> 2013-09-20 12:33:24
PDT ---
iota() for integrals stores the step as a member variable. This makes the
frequent case step=1 slower than it should. Calls using iota(max) or iota(min,
max) should return a structure not storing step, and using ++ to get to the
next item.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------