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
-----Original Message-----
From: ³Â·å <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, October 19, 1999 8:14 PM
Subject: performance

hi linux java fan
 I want to know if the finally will affect the performace of the program
I know that if the catch happen the program will affect the performance ,but I don't konw the finally will do what
                Thanks
                    yours simple fan

Reply via email to