Bug 51460 - iterator for CellValueRecordInterface in ValueRecordsAggregate
Summary: iterator for CellValueRecordInterface in ValueRecordsAggregate
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 3.8-dev
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-01 11:09 UTC by jingqi
Modified: 2011-07-01 16:17 UTC (History)
0 users



Attachments
iterator for CellValueRecordInterface in ValueRecordsAggregate (5.30 KB, text/plain)
2011-07-01 11:09 UTC, jingqi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jingqi 2011-07-01 11:09:44 UTC
Created attachment 27237 [details]
iterator for CellValueRecordInterface in ValueRecordsAggregate

I noticed that when converting from CellValueRecordInterface to HSSFCell, a temporary array of CellValueRecordInterface was generated and it takes so much memory with a big xls file. I think maybe we need an iterator for CellValueRecordInterface in ValueRecordsAggregate here.
Comment 1 Nick Burch 2011-07-01 16:17:49 UTC
Thanks, applied in r1141970.

(Note that I tweaked a few method names and documentation in the process, as well as fixing up some related generics warnings in nearby code, so the patch was slightly tweaked)