Click here to Skip to main content
15,915,164 members
Home / Discussions / C#
   

C#

 
JokeRe: Factors which effect our application performance Pin
Peter_in_278021-Jul-11 22:02
professionalPeter_in_278021-Jul-11 22:02 
GeneralRe: Factors which effect our application performance Pin
dan!sh 21-Jul-11 22:03
professional dan!sh 21-Jul-11 22:03 
GeneralRe: Factors which effect our application performance Pin
RobCroll22-Jul-11 0:59
RobCroll22-Jul-11 0:59 
GeneralRe: Factors which effect our application performance Pin
PIEBALDconsult22-Jul-11 2:46
mvePIEBALDconsult22-Jul-11 2:46 
GeneralRe: Factors which effect our application performance Pin
jschell22-Jul-11 10:09
jschell22-Jul-11 10:09 
GeneralRe: Factors which effect our application performance Pin
RobCroll22-Jul-11 14:01
RobCroll22-Jul-11 14:01 
GeneralRe: Factors which effect our application performance Pin
jschell25-Jul-11 10:27
jschell25-Jul-11 10:27 
GeneralRe: Factors which effect our application performance Pin
RobCroll26-Jul-11 1:24
RobCroll26-Jul-11 1:24 
Can't really give a code snippet but to give an idea
call ClassLib1.DoStuff(a, b, c, d)
      getData e, f, g, h.
      call ClassLib2.DoMoreStuff(a, b, c, d, e)
                 getData i, j, k, l.

      call ClassLib3.EvenMoreStuff(a, b, c, d, e, f)
                 getData i, j, k, z //Hang on we already got most of this in DoMoreStuff


So instead:
aClass = new aClass() //Add a, b, c, d
ClassLib1.DoStuff(aClass)
      getData e, f, g, h.
      //Add e, f, g, h to aClass
      
      call ClassLib2.DoMoreStuff(aClass)
                 getData i, j, k, l.
                 //Add i, j, k, l to aClass

      call ClassLib3.EvenMoreStuff(aClass)
                 //don't need to getData i, j, k we already have it
                 getData z 
                 //Add  to aClass


Now you can start avoiding hammering resourses and for me at least, ClassLib3.EvenMoreStuff(a, b, c, d, e, f, z) is not the most maintainable code.

Hope that makes sense
"You get that on the big jobs."

GeneralRe: Factors which effect our application performance Pin
jschell26-Jul-11 9:01
jschell26-Jul-11 9:01 
SuggestionRe: Factors which effect our application performance Pin
Ravi_Alienware22-Jul-11 4:42
Ravi_Alienware22-Jul-11 4:42 
GeneralRe: Factors which effect our application performance Pin
jschell22-Jul-11 10:08
jschell22-Jul-11 10:08 
GeneralRe: Factors which effect our application performance Pin
robertalis23-Jul-11 2:14
robertalis23-Jul-11 2:14 
Questioni got error when i try to pass data from terminal to webservice Pin
Gali197821-Jul-11 20:24
Gali197821-Jul-11 20:24 
AnswerRe: i got error when i try to pass data from terminal to webservice Pin
dan!sh 21-Jul-11 21:05
professional dan!sh 21-Jul-11 21:05 
Questionhow to insert 5 strings to dataset Pin
Gali197821-Jul-11 12:22
Gali197821-Jul-11 12:22 
AnswerRe: how to insert 5 strings to dataset Pin
Mark Salsbery21-Jul-11 13:01
Mark Salsbery21-Jul-11 13:01 
AnswerRe: how to insert 5 strings to dataset Pin
Blue_Boy21-Jul-11 21:22
Blue_Boy21-Jul-11 21:22 
AnswerRe: how to insert 5 strings to dataset Pin
PIEBALDconsult22-Jul-11 2:47
mvePIEBALDconsult22-Jul-11 2:47 
AnswerRe: how to insert 5 strings to dataset Pin
Ravi_Alienware22-Jul-11 4:47
Ravi_Alienware22-Jul-11 4:47 
AnswerRe: how to insert 5 strings to dataset Pin
Amitdwivedi1725-Jul-11 1:05
Amitdwivedi1725-Jul-11 1:05 
QuestionWhich timer's callback is on a separate thread? Pin
Jun Du21-Jul-11 8:40
Jun Du21-Jul-11 8:40 
AnswerRe: Which timer's callback is on a separate thread? Pin
jschell21-Jul-11 8:54
jschell21-Jul-11 8:54 
AnswerRe: Which timer's callback is on a separate thread? Pin
Dave Kreskowiak21-Jul-11 9:04
mveDave Kreskowiak21-Jul-11 9:04 
GeneralRe: Which timer's callback is on a separate thread? Pin
Jun Du21-Jul-11 9:21
Jun Du21-Jul-11 9:21 
GeneralRe: Which timer's callback is on a separate thread? Pin
Dave Kreskowiak21-Jul-11 10:00
mveDave Kreskowiak21-Jul-11 10:00 

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.