Claude Warren created RAT-366:
---------------------------------

             Summary: Switch to Reading preparing header text and processing in 
one call.
                 Key: RAT-366
                 URL: https://issues.apache.org/jira/browse/RAT-366
             Project: Apache Rat
          Issue Type: Improvement
          Components: core engine
    Affects Versions: 0.16.1
            Reporter: Claude Warren
             Fix For: 0.17


Currently the system spends a fair chunk of time processing input line by line. 
 The code path is much simplified if instead we read the maximum number of 
lines that we would process under the old code and process that all at once. 

This will also improve memory footprint since the full text matcher will not 
have to keep a copy of all the text it has seen so far, but rather just process 
the block of text that is passed in.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to