Click here to Skip to main content
15,902,447 members
Home / Discussions / C#
   

C#

 
GeneralRe: Fast execution Pin
harold aptroot10-Mar-10 22:57
harold aptroot10-Mar-10 22:57 
GeneralRe: Fast execution Pin
sanforjackass10-Mar-10 22:59
sanforjackass10-Mar-10 22:59 
GeneralRe: Fast execution Pin
harold aptroot10-Mar-10 23:02
harold aptroot10-Mar-10 23:02 
GeneralRe: Fast execution Pin
sanforjackass10-Mar-10 23:04
sanforjackass10-Mar-10 23:04 
GeneralRe: Fast execution Pin
harold aptroot10-Mar-10 23:05
harold aptroot10-Mar-10 23:05 
GeneralRe: Fast execution Pin
Rob Philpott10-Mar-10 23:44
Rob Philpott10-Mar-10 23:44 
GeneralRe: Fast execution Pin
harold aptroot11-Mar-10 0:03
harold aptroot11-Mar-10 0:03 
GeneralRe: Fast execution [modified] Pin
Keith Barrow10-Mar-10 23:03
professionalKeith Barrow10-Mar-10 23:03 
This is going to be a slow process, due to the size of the photo files and the complexity of what is being done. I suggest Parallelising the top level loop (the one that processes each photo in turn) so that you process multiple photos at the same time. If you can, consider parallelise the inner loops as well. Naturally this will make the code harder to understand.

There is a pdf knocking around introducing parallel extensions in .net 4, written by Daniel Moth. It is actually a good introduction to parallelism, and will help you design your code with the extensions in mind.
[Edit]
-- Or --
Do what Harold Suggests first!
Dalek Dave: There are many words that some find offensive, Homosexuality, Alcoholism, Religion, Visual Basic, Manchester United, Butter.
Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.

modified on Thursday, March 11, 2010 5:46 AM

AnswerRe: Fast execution Pin
Keith Barrow10-Mar-10 22:41
professionalKeith Barrow10-Mar-10 22:41 
GeneralRe: Fast execution Pin
StarBP11-Mar-10 14:38
StarBP11-Mar-10 14:38 
AnswerRe: Fast execution Pin
Luc Pattyn11-Mar-10 2:14
sitebuilderLuc Pattyn11-Mar-10 2:14 
QuestionData Connections Pin
AlucardCode10-Mar-10 21:05
AlucardCode10-Mar-10 21:05 
AnswerRe: Data Connections Pin
Hristo-Bojilov10-Mar-10 21:55
Hristo-Bojilov10-Mar-10 21:55 
GeneralRe: Data Connections Pin
AlucardCode10-Mar-10 22:33
AlucardCode10-Mar-10 22:33 
AnswerRe: Data Connections Pin
Dave Kreskowiak11-Mar-10 1:55
mveDave Kreskowiak11-Mar-10 1:55 
Questionwebdatechooser-infragistics Pin
vidhulibra 10-Mar-10 20:28
vidhulibra 10-Mar-10 20:28 
AnswerRe: webdatechooser-infragistics Pin
Dave Kreskowiak11-Mar-10 1:54
mveDave Kreskowiak11-Mar-10 1:54 
QuestionDragging a control from one panel to another panel Pin
gamer112710-Mar-10 20:09
gamer112710-Mar-10 20:09 
QuestionSql Inquiry access Pin
arsendem10-Mar-10 19:32
arsendem10-Mar-10 19:32 
QuestionHow to give a document to print in a specific printer Pin
NarVish10-Mar-10 19:30
NarVish10-Mar-10 19:30 
AnswerRe: How to give a document to print in a specific printer Pin
Neh.C10-Mar-10 20:42
Neh.C10-Mar-10 20:42 
GeneralRe: How to give a document to print in a specific printer Pin
NarVish10-Mar-10 21:13
NarVish10-Mar-10 21:13 
GeneralRe: How to give a document to print in a specific printer Pin
Neh.C10-Mar-10 22:00
Neh.C10-Mar-10 22:00 
GeneralRe: How to give a document to print in a specific printer Pin
NarVish10-Mar-10 22:32
NarVish10-Mar-10 22:32 
GeneralRe: How to give a document to print in a specific printer Pin
Neh.C10-Mar-10 23:52
Neh.C10-Mar-10 23:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.