Click here to Skip to main content
15,893,663 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can i make this program Parrallel ? Pin
Rob Philpott11-May-14 22:24
Rob Philpott11-May-14 22:24 
I'm not sure Phil meant to read the files in parallel then continue processing them on a single thread. By parallelizing at the top level, the thread reading the file goes on to processing it so I'd say his assertion was correct but probably better stated as 'read in and process multiple files at the same time'.

It's an odd thing to do anyway. If I were to try and improve the performance of this code the first thing I'd do is get rid of the ReadAllLines and switch to streams before even thinking of going parallel.
Regards,
Rob Philpott.

GeneralRe: How can i make this program Parrallel ? Pin
Phil Martin11-May-14 22:39
professionalPhil Martin11-May-14 22:39 
GeneralRe: How can i make this program Parrallel ? Pin
Phil Martin11-May-14 22:47
professionalPhil Martin11-May-14 22:47 
GeneralRe: How can i make this program Parrallel ? Pin
SledgeHammer0112-May-14 9:33
SledgeHammer0112-May-14 9:33 
GeneralRe: How can i make this program Parrallel ? Pin
Phil Martin12-May-14 11:15
professionalPhil Martin12-May-14 11:15 
QuestionStored procedures - Northwind database Pin
Vexy11-May-14 9:58
Vexy11-May-14 9:58 
AnswerRe: Stored procedures - Northwind database Pin
Rob Philpott12-May-14 1:33
Rob Philpott12-May-14 1:33 
AnswerRe: Stored procedures - Northwind database Pin
sankarsan parida12-May-14 19:29
professionalsankarsan parida12-May-14 19:29 
QuestionPlot line graph from database Pin
Syafiqah Zahirah11-May-14 4:44
Syafiqah Zahirah11-May-14 4:44 
AnswerRe: Plot line graph from database Pin
V.11-May-14 20:19
professionalV.11-May-14 20:19 
GeneralRe: Plot line graph from database Pin
Syafiqah Zahirah11-May-14 20:52
Syafiqah Zahirah11-May-14 20:52 
GeneralRe: Plot line graph from database Pin
V.11-May-14 21:01
professionalV.11-May-14 21:01 
GeneralRe: Plot line graph from database Pin
Syafiqah Zahirah15-May-14 6:53
Syafiqah Zahirah15-May-14 6:53 
AnswerRe: Plot line graph from database Pin
Bernhard Hiller11-May-14 22:14
Bernhard Hiller11-May-14 22:14 
GeneralRe: Plot line graph from database Pin
Syafiqah Zahirah15-May-14 7:13
Syafiqah Zahirah15-May-14 7:13 
GeneralRe: Plot line graph from database Pin
Syafiqah Zahirah20-May-14 9:24
Syafiqah Zahirah20-May-14 9:24 
QuestionDeleting Read Bytes Pin
computerpublic10-May-14 23:49
computerpublic10-May-14 23:49 
AnswerRe: Deleting Read Bytes Pin
OriginalGriff11-May-14 0:49
mveOriginalGriff11-May-14 0:49 
GeneralRe: Deleting Read Bytes Pin
computerpublic11-May-14 5:58
computerpublic11-May-14 5:58 
GeneralRe: Deleting Read Bytes Pin
OriginalGriff11-May-14 6:22
mveOriginalGriff11-May-14 6:22 
GeneralRe: Deleting Read Bytes Pin
Richard MacCutchan11-May-14 7:17
mveRichard MacCutchan11-May-14 7:17 
GeneralRe: Deleting Read Bytes Pin
Richard MacCutchan11-May-14 7:17
mveRichard MacCutchan11-May-14 7:17 
QuestionHow Do I Select Particular Data From Sql Database In C#? Pin
hahaahahaahahhahahahhahaha10-May-14 18:29
hahaahahaahahhahahahhahaha10-May-14 18:29 
AnswerRe: How Do I Select Particular Data From Sql Database In C#? Pin
OriginalGriff10-May-14 21:31
mveOriginalGriff10-May-14 21:31 
QuestionUpdating UI from Task Pin
GrooverFromHolland10-May-14 5:40
GrooverFromHolland10-May-14 5:40 

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.