DO NOT REPLY [Bug 41003] New: - InlineMetaService creates unnecessary copies of data

[email protected]
Newsgroups gmane.text.xml.xindice.devel
Message-ID <[email protected]/bugzilla/>
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41003>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41003

           Summary: InlineMetaService creates unnecessary copies of data
           Product: Xindice
           Version: cvs head (1.1)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DB Engine
        AssignedTo: [email protected]
        ReportedBy: [email protected]


When reading a record from database, InlineMataService creates unnecessary
partial copies of data by calling Value.getData(). getData() returns a copy of
part of original array and this new array only used for read-only access. 

Attached is the patch that allows read-only access to Value data without copying it.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.