[Issue 5691] walkLength() compatible with opApply()
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 4 08:38:35 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5691
--- Comment #13 from Andrei Alexandrescu <andrei at metalanguage.com> 2011-03-04 08:35:41 PST ---
walkLength would need forking for opApply, so already for this first example
we're looking at an increase in complexity. This is because walkLength against
a range doesn't need to invoke front, so it uses a straight for loop.
The difference between walkLength and count is that walkLength accepts a limit.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list