It is not clear that wildcard imports slow even compile time speed the first time a 
JSP is loaded. There is no reason to expect that it would have a
measurable impact on javac compile speed.

This is more a style and coding standards question.  One downside to implicit imports 
is that as code evolves classes have long lists of obsolete
import statements left over...  This is a horrible maintenance blight on legacy Java 
code in the cases I've seen with 20 or 30 (and sometimes 50 or
more) import statements that could be boiled down to 4 or 5 wildcard import statements.

Paul Copeland, JOT Object Technologies
http://www.jotobjects.com


>
> Date:    Thu, 17 Jan 2002 14:48:51 -0500
> From:    Mark Galbreath <[EMAIL PROTECTED]>
> Subject: Re: Class Loader Performance Question
>
> Yeah, I knew this, but in spite of me forwarding numerous assertions from
> this list and the struts list, the tech lead of our dev group (I'm doing a
> consulting gig here) insists that explicit imports speed up the runtime.
> The only time I could see this being true is the first time a JSP is called
> that declares scores of imports.
>
> Mark
>
> -----Original Message-----
> From: Chen, Gin
> Sent: Thursday, January 17, 2002 11:35 AM
>
> According to an email I received from Peter Haggar (author of Practical
> Java: Programming Language Guide). The use of implicit imports have no
> effect on the performance as it is only used during compile time. It seemed,
> according to the email (which i unfortunately lost), that the use of
> implicit vs explicit is mainly a programmer preference.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to