https://issues.apache.org/bugzilla/show_bug.cgi?id=52096

--- Comment #11 from Jesse Glick <[email protected]> 2011-11-10 00:06:33 UTC 
---
(In reply to comment #10)
> Wouldn't opening each
> package-info.java file and scanning it with some regexp take almost as long as
> simply passing the files to javac in the end?

Probably depends on the situation. While javac itself is reasonably fast on
small files, i.e. not much slower than the I/O of loading the file, running
javac incurs two kinds of additional cost:

1. Opening any classpath entries, which may be numerous and/or large.

2. Running any annotation processors, which could be slow.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to