[4396] in java-interest

home help back first fref pref prev next nref lref last post

import efficiency

daemon@ATHENA.MIT.EDU (Elliotte Rusty Harold)
Thu Dec 21 19:50:28 1995

From: "Elliotte Rusty Harold" <elliotte@blackstar.com>
To: java-interest@java.sun.com
Date:          Thu, 21 Dec 1995 18:57:16 EST
Reply-To: elliotte@blackstar.com

Is there anything to be gained by being very specific about the 
classes you import?  i.e. will my code be any bigger or slower if I 
import java.util.* when I just want java.util.Random?  or any other 
similar combinartion?  In other words should I make the effort to 
only import the classes I use or should I be a pig and import 
everything, and not worry about counting classes?

--
Elliotte Rusty Harold    Black Star Publishing Co., Inc.
elliotte@blackstar.com   116 East 27th Street
elharo@shock.njit.edu    NY NY 10016
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post