Bug 41003

Summary: InlineMetaService creates unnecessary copies of data
Product: Xindice Reporter: Natalia Shilenkova <nshilenkova>
Component: DB EngineAssignee: Xindice Developers <xindice-dev>
Status: CLOSED FIXED    
Severity: enhancement    
Priority: P2    
Version: cvs head (1.1)   
Target Milestone: ---   
Hardware: Other   
OS: other   
Attachments: Patch

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]
Comment 2 Vadim Gritsenko 2006-11-26 14:44:44 UTC
patch applied, thanks.