Check if limit has been reached in GeneraterReducer must be the first check 
performance-wise.
---------------------------------------------------------------------------------------------

                 Key: NUTCH-1279
                 URL: https://issues.apache.org/jira/browse/NUTCH-1279
             Project: Nutch
          Issue Type: Improvement
          Components: generator
            Reporter: Ferdy Galema
            Priority: Minor
             Fix For: nutchgora


The (count >= limit) should be put up front in the reduce method of the 
generator, because that way when the limit is reached the reduce method will 
return faster.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to