davydotcom opened a new pull request #1456: URL: https://github.com/apache/groovy/pull/1456
A LinkedList has a method called getLast() which on a DoublyLinkedList is a direct reference. Using size and get() can take more overhead in testing. While this optimization is VERY small, it can have impacts on large list traversals ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
