lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [lucene-solr] KoenDG opened a new pull request #717: Code cleanup - Avoid using stream filter count where possible
Date Thu, 13 Jun 2019 00:16:50 GMT
KoenDG opened a new pull request #717: Code cleanup - Avoid using stream filter count where
possible
URL: https://github.com/apache/lucene-solr/pull/717
 
 
   Related to Jira ticket: https://issues.apache.org/jira/browse/SOLR-13542
   
   Code changes made and CHANGES.txt editted.
   
   The majority of the code seems to already be using anyMatch and noneMatch logic, these
few remaining instances were using count() and comparing the result to 0.
   This changes everything to anyMatch and noneMatch, which is also potentially more performant.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message