No performance hit whatsoever. It's purely an issue of maintainability.
Those are just directives to tell the compiler where to look to resolve
names, they aren't actually included in the file or anything.

-Jonathan

----- Original Message -----
From: "Mark Galbreath" <[EMAIL PROTECTED]>
To: "Struts (E-mail)" <[EMAIL PROTECTED]>
Sent: Thursday, January 17, 2002 9:25 AM
Subject: Class Loading Performance Question


> Anybody have an idea on the performance hit that might be taken by a
> high-volume app server running classes with explicit imports rather than
> wildcard imports?
>
> For example,
>
>     import org.apache.struts.action.Action;
>     ....
>     import org.apache.struts.util.PropertyUtils;
>     ....
>
> as opposed to
>
>     import org.apache.struts.action.*;
>     import org.apache.struts.util.*;
>
> Cheers!
> Mark
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to