You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucy.apache.org by "Marvin Humphrey (JIRA)" <ji...@apache.org> on 2009/10/26 05:09:02 UTC

[jira] Created: (LUCY-61) RAMFile

RAMFile
-------

                 Key: LUCY-61
                 URL: https://issues.apache.org/jira/browse/LUCY-61
             Project: Lucy
          Issue Type: Sub-task
            Reporter: Marvin Humphrey
            Assignee: Marvin Humphrey




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (LUCY-61) RAMFile

Posted by "Marvin Humphrey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCY-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marvin Humphrey updated LUCY-61:
--------------------------------

    Attachment: RAMFile.c
                RAMFile.bp

The Lucene implementation of RAMFile is backed by an array of buffers; in
contrast, this implementation uses a single buffer.  This probably makes it
less efficient when writing large files, because reallocating a single buffer
as the file grows is less efficient than adding new, small buffers.  

However, to simulate memory mapping of the entire file, we need to have a
single, unified buffer at read-time.

It is possible to improve on this implementation by adding a multi-buffer set
up for use during write-time, which then would be consolidated into a single
buffer some time between the finish of writing and the first read.  For now,
though, the present, simple implementation will do.

> RAMFile
> -------
>
>                 Key: LUCY-61
>                 URL: https://issues.apache.org/jira/browse/LUCY-61
>             Project: Lucy
>          Issue Type: Sub-task
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>         Attachments: RAMFile.bp, RAMFile.c
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (LUCY-61) RAMFile

Posted by "Marvin Humphrey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCY-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marvin Humphrey resolved LUCY-61.
---------------------------------

    Resolution: Fixed

Committed as r830062.

> RAMFile
> -------
>
>                 Key: LUCY-61
>                 URL: https://issues.apache.org/jira/browse/LUCY-61
>             Project: Lucy
>          Issue Type: Sub-task
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>         Attachments: RAMFile.bp, RAMFile.c
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.