[ https://issues.apache.org/jira/browse/LUCENENET-541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14014891#comment-14014891
]
Itamar Syn-Hershko commented on LUCENENET-541:
----------------------------------------------
Confirmed. Although the performance boost is quite negligible (I'm less concerned of performance
when the debugger is attached) I do agree there is no need for flow control using exceptions
in this case. Thanks.
> Performance issue with IOException in FastCharStream.
> -----------------------------------------------------
>
> Key: LUCENENET-541
> URL: https://issues.apache.org/jira/browse/LUCENENET-541
> Project: Lucene.Net
> Issue Type: Improvement
> Components: Lucene.Net Core
> Affects Versions: Lucene.Net 3.0.3, Lucene.Net 3.6, Lucene.Net 4.0
> Reporter: Christopher Haws
> Priority: Minor
> Labels: performance
> Attachments: Lucene541Sample.zip
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> The Refill() method of the FastCharStream class contains logic based on an IOException
being thrown. This logic degrades the performance of every query by about 10x from my testing.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
|