No--don't do that. DON'T convince yourself that
you need to avoid using a particular language feature "because of its
impact on performance". Use the language feature, profile the app, THEN
worry about performance. There are dozens of things you can do to better improve
app speed (including using something OTHER than Java, like C++ or asm) without
sacrificing a key part of the Java language (exception handling, that
is).
Get it working, get it right, THEN get it fast.
--Martin Fowler, "Refactoring"
Ted
Neward
Patterns/C++/Java/CORBA/EJB/COM-DCOM spoken here http://www.javageeks.com/~tneward "I don't even speak for myself; my wife won't let me." --Me
|
- Performance Helge Hielscher
- Re: Performance nmeyers
- performance 陈峰
- Ted Neward