mattbertolini opened a new pull request, #223:
URL: https://github.com/apache/ant/pull/223

   I came across this while working on a custom Ant task. I saw what I think is 
the ResourceCollection stream() method eagerly loading elements when creating a 
stream. Not sure if that was intentional or not. If it is, feel free to close 
the PR.  If not, I've created this to update it to use the StreamSupport 
factory method and a spliterator. I think this is how the JDK Collection 
creates the stream. This will make using things like findFirst a bit faster as 
it won't have to load every element to find the first.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to