[
https://issues.apache.org/jira/browse/ODFTOOLKIT-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Evans updated ODFTOOLKIT-385:
----------------------------------
Attachment: RowWriterUtils.java
I have attached a class containing three (fairly generic) methods that can
greatly improve performance when writing many rows to a spreadsheet. These
methods are especially useful when you have all the data ready up front and you
want to write it all to the spreadsheet in one go, row for row.
There is one function for writing strings to cells, one for writing doubles to
cells, and one for writing empty cells. These is some inconsistency in my use
of the terms "double" and "float", but this is due to the inconsistent way
these are used in the spreadsheet attribute names and the ODFDOM method names.
> Table Performance
> -----------------
>
> Key: ODFTOOLKIT-385
> URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-385
> Project: ODF Toolkit
> Issue Type: Bug
> Components: simple api
> Affects Versions: 0.7-incubating
> Reporter: Svante Schubert
> Attachments: RowWriterUtils.java, SmallCellsEmpty.ods,
> TablePerformanceTest.java
>
>
> Nick came up with a performance test to evaluate the performance issues of
> the spreadsheet/table handling, see
> http://mail-archives.apache.org/mod_mbox/incubator-odf-users/201401.mbox/%3CCANgbAJjTM4r%2BiexUeFEkRq0HsGkdmS25OQm%3D-LQRPHey5QLF_g%40mail.gmail.com%3E
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)