Skip to content

Commit

Permalink
Update potential-pitfalls-in-data-and-task-parallelism.md (#43669)
Browse files Browse the repository at this point in the history
Removes reference to 'cust.Orders' from pitfalls section, as it appears to have been copied from https://learn.microsoft.com/en-us/dotnet/standard/parallel-programming/potential-pitfalls-with-plinq#avoid-over-parallelization and doesn't apply to this document
  • Loading branch information
tag-dbot authored Nov 21, 2024
1 parent 78e1025 commit d2d91be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ In many cases, <xref:System.Threading.Tasks.Parallel.For%2A?displayProperty=name

- You are performing an expensive computation on each order. (The operation shown in the example is not expensive.)

- The target system is known to have enough processors to handle the number of threads that will be produced by parallelizing the query on `cust.Orders`.
- The target system is known to have enough processors to handle the number of threads that will be produced by parallelizing the processing.

In all cases, the best way to determine the optimum query shape is to test and measure.

Expand Down

0 comments on commit d2d91be

Please sign in to comment.