Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

C9 Bytes: Parallel LINQ and Amazing Photo Colorization using Parallel Fx with Stephen Toub

Download

Right click “Save as…”

Stephen Toub shows off two demos, one using the AsParallel statement to dramatically decrease LINQ query times and the second demo is a simple image editing application that enables you to add dynamic coloring/black and white to a photo, similar to effects in movies like Pleasantville or Sin City.

As this is a CPU-intensive operation, you can see how changing a for loop to a Parallel.For loop dramatically improves the application's performance.

Follow the Discussion

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.