Click here to Skip to main content
15,886,788 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Practical steps for using Xml in an application? Pin
charlieg22-Nov-10 11:22
charlieg22-Nov-10 11:22 
QuestionUsing DataTables against arrays Pin
JayKhatri13-Nov-10 21:06
JayKhatri13-Nov-10 21:06 
AnswerRe: Using DataTables against arrays Pin
Eddy Vluggen16-Nov-10 0:07
professionalEddy Vluggen16-Nov-10 0:07 
GeneralRe: Using DataTables against arrays Pin
JayKhatri16-Nov-10 0:13
JayKhatri16-Nov-10 0:13 
QuestionDetecting a right way to use variables in .Net Pin
JayKhatri6-Nov-10 7:53
JayKhatri6-Nov-10 7:53 
AnswerRe: Detecting a right way to use variables in .Net Pin
Luc Pattyn6-Nov-10 8:51
sitebuilderLuc Pattyn6-Nov-10 8:51 
GeneralRe: Detecting a right way to use variables in .Net Pin
JayKhatri6-Nov-10 9:31
JayKhatri6-Nov-10 9:31 
AnswerRe: Detecting a right way to use variables in .Net Pin
Ray Cassick6-Nov-10 21:54
Ray Cassick6-Nov-10 21:54 
Yeah, I agree with Luc, this seems like such a small impact that the benefits of being able to 'see' the string in the debugger might outweigh the efficiency of the hard coded string...

But if you ever have questions like this again you can also do a few things...

1) Code it both ways and open the executables up in reflector to see the IL. That sometimes shows you that no matter how you 'code' it, the compiler may just be optimizing it out for you.

2) Code it both ways and throw it in a huge loop then run it a few thousand times to get some performance numbers. See how it uses memory. See how the GC acts, etc...

GeneralRe: Detecting a right way to use variables in .Net Pin
JayKhatri6-Nov-10 22:02
JayKhatri6-Nov-10 22:02 
GeneralRe: Detecting a right way to use variables in .Net Pin
Dave Kreskowiak7-Nov-10 2:27
mveDave Kreskowiak7-Nov-10 2:27 
GeneralRe: Detecting a right way to use variables in .Net Pin
JayKhatri7-Nov-10 4:00
JayKhatri7-Nov-10 4:00 
GeneralRe: Detecting a right way to use variables in .Net Pin
Ray Cassick7-Nov-10 21:10
Ray Cassick7-Nov-10 21:10 
GeneralRe: Detecting a right way to use variables in .Net Pin
Dave Kreskowiak8-Nov-10 1:35
mveDave Kreskowiak8-Nov-10 1:35 
AnswerRe: Detecting a right way to use variables in .Net Pin
GParkings2-Sep-11 3:08
GParkings2-Sep-11 3:08 
QuestionDesign & Architecture Help Pin
dsrao4-Nov-10 12:30
dsrao4-Nov-10 12:30 
AnswerCROSSPOST Pin
Dave Kreskowiak4-Nov-10 14:55
mveDave Kreskowiak4-Nov-10 14:55 
Questiontool for real time graph plotting.. Pin
jainiraj27-Oct-10 1:22
jainiraj27-Oct-10 1:22 
AnswerRe: tool for real time graph plotting.. Pin
Eddy Vluggen28-Oct-10 9:40
professionalEddy Vluggen28-Oct-10 9:40 
QuestionModularizing Help Pin
Aaronov21-Oct-10 18:38
Aaronov21-Oct-10 18:38 
AnswerRe: Modularizing Help Pin
Eddy Vluggen23-Oct-10 4:49
professionalEddy Vluggen23-Oct-10 4:49 
GeneralRe: Modularizing Help Pin
Aaronov24-Oct-10 12:11
Aaronov24-Oct-10 12:11 
GeneralRe: Modularizing Help Pin
Richard Andrew x6424-Oct-10 15:01
professionalRichard Andrew x6424-Oct-10 15:01 
QuestionProductivity to a grinding hault Pin
DavidKiryazi17-Oct-10 18:14
DavidKiryazi17-Oct-10 18:14 
AnswerRe: Productivity to a grinding hault Pin
Alegria_Lee18-Oct-10 3:58
Alegria_Lee18-Oct-10 3:58 
GeneralRe: Productivity to a grinding hault Pin
DavidKiryazi18-Oct-10 15:44
DavidKiryazi18-Oct-10 15:44 

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.