nfsantos opened a new pull request, #2113:
URL: https://github.com/apache/jackrabbit-oak/pull/2113

   …tation of the elements arrays every time it is called, even though it was 
only needed if the checkArgument call failed. Replace this call by a 
conditional that avoids this expensive conversion to String.
   
   In calls to collectAggregates, avoid the creation of ArrayList<Matcher> 
instances, instead use Matcher[]. Iteration over arrays with the enhanced for 
loop are converted to indexed traversals, which avoids the creation of an 
Iterator object while preserving the clean syntax of the enhanced for loop.
   
   Replace usages of static constructor methods  from Collections by 
corresponding methods in Set and Map.
   
   In collectAggregatesForDirectMatchers(), do not create temporary children 
map and do not call matchChildren() unless there is a match among the children.
   
   Fix white space.


-- 
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: oak-dev-unsubscr...@jackrabbit.apache.org

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

Reply via email to