You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2014/07/15 20:42:06 UTC

[jira] [Commented] (LUCENE-5681) Fix RAMDirectory's IndexInput to not double-buffer on slice()

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

Uwe Schindler commented on LUCENE-5681:
---------------------------------------

This improvement is especially important for slices of NRTCachingDirectory, because it uses RAMDirectory internally, too!

> Fix RAMDirectory's IndexInput to not double-buffer on slice()
> -------------------------------------------------------------
>
>                 Key: LUCENE-5681
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5681
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/store
>            Reporter: Uwe Schindler
>             Fix For: 5.0
>
>         Attachments: LUCENE-5681.patch
>
>
> After LUCENE-4371, we still have a non-optimal implementation of IndexInput#slice() in RAMDirectory. We should fix that to use the cloning approach like other directories do



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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