Skip to main content
Post Undeleted by Onur
Post Deleted by Onur
deleted 1 character in body
Source Link
Onur
  • 902
  • 10
  • 18

For big dictionaries youYou can also try this on big dictionaries for multithreaded processing.

dictionary
.AsParallel()
.ForAll(pair => 
{ 
    // Process pair.Key and pair.Value here
});

For big dictionaries you can try this for multithreaded processing.

dictionary
.AsParallel()
.ForAll(pair => 
{ 
    // Process pair.Key and pair.Value here
});

You can also try this on big dictionaries for multithreaded processing.

dictionary
.AsParallel()
.ForAll(pair => 
{ 
    // Process pair.Key and pair.Value here
});
added 105 characters in body
Source Link
Onur
  • 902
  • 10
  • 18

YouFor big dictionaries you can try dictionary.AsParallel().ForAll(pair=>{ ... })this for multithreaded processing.

dictionary
.AsParallel()
.ForAll(pair => 
{ 
    // Process pair.Key and pair.Value here
});

You can try dictionary.AsParallel().ForAll(pair=>{ ... }) for multithreaded processing.

For big dictionaries you can try this for multithreaded processing.

dictionary
.AsParallel()
.ForAll(pair => 
{ 
    // Process pair.Key and pair.Value here
});
added 2 characters in body
Source Link
Onur
  • 902
  • 10
  • 18

You can try dictionary.AsParallel().ForAll(pair=>{ ... })dictionary.AsParallel().ForAll(pair=>{ ... }) for multithreaded processing.

You can try dictionary.AsParallel().ForAll(pair=>{ ... }) for multithreaded processing.

You can try dictionary.AsParallel().ForAll(pair=>{ ... }) for multithreaded processing.

Source Link
Onur
  • 902
  • 10
  • 18
Loading