-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Description
ParallelFor(1, 100, ...)
is converted to Task.WhenAll(Enumerable.Range(1, 100)...
while it should be Task.WhenAll(Enumerable.Range(1, 99)
. (#63)
ParallelFor
semantic is "first included last excluded", while Range
semantic is "first included, total count".
So if we have ParallelFor(a, b, ...)
, the conversion should yield Task.WhenAll(Enumerable.Range(a, b - a)...
.
This was spotted with nhibernate/nhibernate-core#1455 test.