Proposed javac argument processing performance improvement

David Schlosnagle schlosna at gmail.com
Sat Jul 2 07:21:46 PDT 2011


On Sat, Jul 2, 2011 at 8:36 AM, Rémi Forax <forax at univ-mlv.fr> wrote:
> Jon,
> I think that processArgs should return a Collection instead of an Iterable
> to avoid to call iterator().hasNext() when you want isEmpty().
>
> Rémi

Remi,

Nice catch, that does simplify the changes. An updated patch is attached.

- Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7061125-cmdlineperf.patch
Type: application/octet-stream
Size: 6130 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20110702/1eab649d/7061125-cmdlineperf.patch 


More information about the compiler-dev mailing list