parallel-extensions Questions

2

Solved

Suppose you have an array of 1000 random integer numbers and you need to loop over it to find the number 68 for example. Using the new Parallel.For on a quad core CPU would improve speed considera...
Insomniac asked 21/8, 2010 at 20:0

6

Solved

As software gets more and more concurrent, how do you handle testing the core behaviour of the type with your unit tests (not the parallel behaviour, just the core behaviour)? In the good old days...

1

Solved

I am new to C#, Parallel.ForEach, and .NET in general. I want to parallelize a search that involves thousands of locations. For each location, I compute great circle distance. That is a calculation...
Mirabel asked 23/7, 2010 at 22:17

2

Solved

I'm using Parallel Extensions fairly heavily and I've just now encountered a case where using thread local storage might be sensible to allow re-use of objects by worker threads. As such I was look...
Submultiple asked 12/6, 2010 at 17:9

4

Solved

The problem Although the code about which I will talk here I wrote in F#, it is based on the .NET 4 framework, not specifically depending on any particularity of F# (at least it seems so!). I hav...

5

Solved

I'm looking for a simple implementation of a parallelized (multi-threaded) sort algorithm in C# that can operate on List<T> or Arrays, and possibly using Parallel Extensions but that part isn...
Chrysarobin asked 13/12, 2009 at 19:29

2

Solved

At least since the release of .NET 4.0, Microsoft seems to have put a lot of effort in support for parallel and asynchronous programming and it seems a lot of APIs and libraries around this have em...

2

Parallel.ForEach Not Spinning Up New Threads Hello all, we have a very IO-intensive operation that we wrote using Parallel.ForEach from Microsoft's Parallel Extensions for the .NET Framework. We n...
Radiometer asked 7/12, 2009 at 17:33

4

Solved

I have a Parallel.ForEach loop running an intensive operation inside the body. The operation can use a Hashtable to store the values, and can be reused for other consecutive loop items. I add to t...
Bullis asked 1/11, 2009 at 18:20

© 2022 - 2024 — McMap. All rights reserved.