Which offers better performance?

  • Thread starter Thread starter JustMe
  • Start date Start date
J

JustMe

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
 
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.
 
Back
Top