[ 
https://issues.apache.org/jira/browse/RAT-366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17841142#comment-17841142
 ] 

ASF subversion and git services commented on RAT-366:
-----------------------------------------------------

Commit 66e134635aa893c291df0b2b4c6e134d37b930c4 in creadur-rat's branch 
refs/heads/feature/RAT-369 from Claude Warren
[ https://gitbox.apache.org/repos/asf?p=creadur-rat.git;h=66e13463 ]

Merge pull request #233 from Claudenw/RAT-355_RAT-366_merge

RAT-355 and RAT-366 fixes in one package

> 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
>            Assignee: Claude Warren
>            Priority: Minor
>             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