6 Replies
everything works for me, but I'm not sure if it's all well written
I question the value of using parallelism here at all
I question the idea of returning a ConcurrentDictionary as opposed to an IDictionary or just Dictionary
otherwise, seems fine
As with your last question, this does not look like CPU Bound work to me, so you shouldn’t be the Parallel class.
I tried simple foreach and parallel version
second one was x2 faster
53 ms vs 106
measured how?
what did the foreach version look like?
and the second one is faster ..