std.parallelism changes done
dsimcha
dsimcha at yahoo.com
Thu Mar 24 10:52:25 PDT 2011
== Quote from spir (denis.spir at gmail.com)'s article
> On 03/24/2011 06:04 PM, dsimcha wrote:
> > Hmm, you do have a point there. Two reasons:
> >
> > 1. map() was there first and at the time I didn't feel like renaming it.
> >
> > 2. I think map() is much more frequently useful than lazyMap() and name verbosity
> > should be inversely proportional to usage frequency. (Which is why I really need
> > help thinking of a better name than executeInNewThread().)
> If we decide eager is (an implicite) standard, then we must rename (several?)
> std.algo funcs, I guess.
> Denis
Ok, I'm convinced that the eagerness of map() may throw people off. Unless anyone
objects, I'm going with map() for the lazy version and amap() for the eager
version. This is both consistent and terse.
More information about the Digitalmars-d
mailing list