Stig Nielsson <(E-Mail Removed)> wrote:
> I am wondering what is the most efficient way to make a parameterized
> factory method, and before I start spending time on performance
> measurements myself, I would like to hear the NG's opinion:
Well, the first thing I'd ask is: "does the performance here really
matter"? Do you have any evidence that it's a bottleneck in your
application? Unless you're calling it millions of times a minute, it's
very unlikely to matter much - so go with whichever ends up being more
elegant.
--
Jon Skeet - <(E-Mail Removed)>
http://www.pobox.com/~skeet Blog:
http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too