[Issue 12446] New: std.parallelism.amap prefer iteration to indexing
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Mar 23 13:36:09 PDT 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12446
Summary: std.parallelism.amap prefer iteration to indexing
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Phobos
AssignedTo: safety0ff.bugz at gmail.com
ReportedBy: safety0ff.bugz at gmail.com
--- Comment #0 from safety0ff.bugz <safety0ff.bugz at gmail.com> 2014-03-23 13:36:07 PDT ---
Currently std.parallelism.amap uses the random access range primitives instead
of the input range primitives to traverse the per-thread slices.
This matters when random access is more expensive than iteration.
Iteration, if properly implemented, should always at least as fast as indexing.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list