forked from tsai/mathnet-numerics
Browse Source
CommonParallel did break on empty loops with an argument exception instead of just doing nothing. It now exits early if there's nothing to do in For and Invoke, no longer throwing an exception. Also, it now special cases single-element iterations and inlines their execution (trivial loop unrolling), skipping all the threading/task overhead.la-knuth v2.1.2
1 changed files with 28 additions and 0 deletions
Loading…
Reference in new issue