Questions tagged [plinq]

PLINQ is a parallel query execution engine for LINQ. PLINQ supports the data parallelism pattern by adding additional syntax to allow queries to be declared as running in parallel.

PLINQ is a parallel query execution engine for . PLINQ supports the data parallelism pattern by adding additional syntax to allow queries to be declared as running in parallel.

Related Links

365 questions
-1
votes
1 answer

Compare list to itself with parallel execution

i have following code I used up until now to compare a list of file-entrys to itsef by hash-codes for (int i = 0; i < fileLists.SourceFileListBefore.Count; i++) // Compare SourceFileList-Files to themselves { for (int…
Ich
  • 19
  • 1
  • 4
-1
votes
2 answers

What is the difference between LINQ & PLINQ in terms of execution

i like to know What is the difference between LINQ & PLINQ in terms of execution ? when we should use PLINQ not LINQ just discuss some situation here giving two code. one done by LINQ and other done by PLINQ. just tell me what is the difference and…
Thomas
  • 33,544
  • 126
  • 357
  • 626
-2
votes
2 answers

PLINQ slower than actual Linq for this snippet

Below is the code snippet. EF6 is used. var itemNames = context.cam.AsParallel() .Where(x=> x.cams == "edsfdf") .Select(item => item.fg) .FirstOrDefault(); Why is…
-2
votes
1 answer

Parallel loop gives minor perfromance gain, how to optimize?

I have following code which actually DE-serialize a CSV into objects. I tried using Foreach also with Parallelism, but I get a minor gain. I want to know that how can I optimize this code to better utilize parallel processing capabilities. I have i7…
ak1
  • 387
  • 7
  • 20
-3
votes
5 answers

Linq compare 2 lists of arrays

I would like to compare 2 lists of arrays. Let's take for instance this example: List list1 = new List() { new int[4] { 1, 2, 3, 4 }, new int[4] { 1, 2, 3, 5 } }; List list2 = new List() { new int[2] { 1, 2 }, new…
George87
  • 102
  • 2
  • 9
1 2 3
24
25