On 3/19/2011 12:03 PM, Andrei Alexandrescu wrote:

* "workUnitSize: The number of elements to evaluate in a single Task.
Must be less than or equal to bufSize, and in practice should be a
fraction of bufSize such that all worker threads can be used." Then why
not specify a different parameter such a multiplier or something? The
dependence between bufSize and worUnitSize is a sign that these two
should be improved. If you have good reasons that the user must have the
parameters in this form, give an example substantiating that.

I did this for consistency with all the other functions, where work unit size is specified directly. I don't want lazyMap to be the oddball function where it's specified in a completely different way.

Reply via email to