Re: Which offers better performance?
From: Andrew Enfield \(MS\) (andrewe_at_microsoft.com)
Date: 09/08/04
- Next message: Rüdiger Kardel: "Re: MessageBox/Windows.Form compromise"
- Previous message: John: "Sync with desktop app"
- In reply to: JustMe: "Which offers better performance?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 8 Sep 2004 16:25:28 -0700
I'm no expert, but I'd be surprised if putting the code in another assembly
would speed anything up.
But, as always, performance gains/losses should be something that's tested
and quantitatively proven/disproven. In my experience, stuff that I think is
slow may very well be slow, but if that slow code only makes up a tiny part
of the overall app picture, then any changes or improvements I make will be
effectively worthless. Whenever I guess on this, it seems I always guess
wrong :-), so I try to write clear code and only optimize something after I
know I have to and I have the metrics showing where my changes will actually
help.
My $0.02.
-- Andrew Enfield Programmer Writer, Windows CE This posting is provided AS IS with no warranties, and confers no rights. "JustMe" <temilson@sasktel.net> wrote in message news:e3728397.0409081214.75691100@posting.google.com... > Hi: > > This may be a dumb question. I have a custom textbox class. During > the lifetime of my application, this special textbox is created MANY > times. > > I currently compile the class with the rest of my application code. > > Would I find a performance increase/decrease by compiling my Textbox > class to a separate dll and then referencing this in my main > application? > > Any suggestions/pointers would be greatly appeciated. > > --Terry
- Next message: Rüdiger Kardel: "Re: MessageBox/Windows.Form compromise"
- Previous message: John: "Sync with desktop app"
- In reply to: JustMe: "Which offers better performance?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|