Bug 41003 - InlineMetaService creates unnecessary copies of data
Summary: InlineMetaService creates unnecessary copies of data
Status: CLOSED FIXED
Alias: None
Product: Xindice
Classification: Unclassified
Component: DB Engine (show other bugs)
Version: cvs head (1.1)
Hardware: Other other
: P2 enhancement
Target Milestone: ---
Assignee: Xindice Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-19 10:26 UTC by Natalia Shilenkova
Modified: 2006-11-26 14:44 UTC (History)
0 users



Attachments
Patch (9.77 KB, patch)
2006-11-19 10:27 UTC, Natalia Shilenkova
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Natalia Shilenkova 2006-11-19 10:26:26 UTC
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.
Comment 1 Natalia Shilenkova 2006-11-19 10:27:52 UTC
Created attachment 19142 [details]
Patch
Comment 2 Vadim Gritsenko 2006-11-26 14:44:44 UTC
patch applied, thanks.