I don?t claim to be the best developer on the planet :) but I?m always amazed at how all the ?experts? come out of the woodwork to posh on other peoples code :) Several folks have commented and emailed about hey the technique I posted earlier was unnecessary. But only ONE guy (thanks Henrik Juhlin ) took the time to research before commenting. Since the last company that I built did nothing but performance work, it did get me thinking, so I built a little test. I used 4 potential access methods and ran the test with debugging OFF! Here are the results. Retrieve and Assign 200,000 Times From Application Object : 1797 Milliseconds From Config File : 1699 Milliseconds From Resource File : 684 Milliseconds From Static Variable : 5 Milliseconds In...(read more) ...
Go to the complete details ...