Click here to Skip to main content
15,900,466 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: Fast execution Pin
Keith Barrow10-Mar-10 22:41
professionalKeith Barrow10-Mar-10 22:41 
sanforjackass wrote:
it make it a little more faster but not that faster, is there a way to make it works more faster?


Withous seeing what the code does, IMO you've three real options:

  • Refactor to run in parallel. This is only an option if the order things are processed in does (or can be made to) not matter
  • Re-implement using pointers. This will work best if one of the lists/collections you are itering over is long and the processing task is short-lived
  • Profile the code and optimize the task that is taking the most time.


It might be helpful if you post code, of give psuedo-code about what you application is actually doing.
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.

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 
GeneralRe: How to give a document to print in a specific printer Pin
NarVish11-Mar-10 0:29
NarVish11-Mar-10 0:29 

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.