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

ASF subversion and git services commented on SOLR-11879:
--------------------------------------------------------

Commit 1ef988a26378137b1e1f022985dacee1f557f4fc in lucene-solr's branch 
refs/heads/branch_7x from [~noble.paul]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=1ef988a ]

SOLR-11879: moved the peek() call inside the for loop


> avoid creating a new Exception object for EOFException in FastinputStream
> -------------------------------------------------------------------------
>
>                 Key: SOLR-11879
>                 URL: https://issues.apache.org/jira/browse/SOLR-11879
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>         Environment: FastI
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Trivial
>         Attachments: SOLR-11879.patch, SOLR-11879.patch, SOLR-11879.patch, 
> Screen Shot 2018-01-24 at 7.26.16 PM.png
>
>
> FastInputStream creates and throws a new EOFException, every time an end of 
> stream is encountered. This is wasteful as we never use the stack trace 
> anywhere 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to