Hey!

I've just found out that MTASC compiles much faster if used classes are
imported explicitly.
That is
import com.togethersoft.util.Time
import com.togethersoft.util.Format

is much faster than

import com.togethersoft.util.*;

Provided there are many classes in com.togethersoft.util package.
Don't ask, I don't know why.

Because I'm a lazy programmer I always used "*" notation in my sources.
So now I have a lot of classes with "*" imports.
And because I want my code to compile fast, I wish to substitute "*" imports
to fully qualified class name imports.

Do you know any tool to help me to convert import statements in all the
sources?
This is Action script 2.0.

The only way I could think about is to use FDT Eclipse plugin.
FDT is able to detect classes used by the given one and add fully qualified
class name imports.
Unfortunately it does not support a batch mode. So I have to open each class
in the editor to convert imports.
And there are around 500 classes in the project.

Any ideas?

Pasha.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to