Possible Duplicate:
PLINQ Performs Worse Than Usual LINQ
Does anyone know why this PLINQ code is slower than regular LINQ? Is there anyway to fix it?
// dic is a Dictionary<int, int>
var location = (from locations in dic.AsParallel
orderby locations.Value descending
select locations.Key).First();
return location;
Adding the ParallelQuery slows things down a lot by why would that be the case?