in reply to Spreadsheet::WriteExcel::Big is Bigger
Excel also stores repeated strings in a hash table. This can give a big space saving for certain types of data. Spreadsheet::WriteExcel will do this in a later version but probably only for long strings.
There are a few other optimisation as well. When you save the file, Excel will perform the optimisations and the file size will reduce.
Note, you can write an array of data in one go by passing it as an arrayref:
# print information to Excel spreadsheet $worksheet->write($row, 0, \@XLSarray); $row++;
--
John.
* For the anoraks. Actually, where possible, it stores ints and floats in 30 bits and uses the other two bits to indicate the type of stored variable.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(shockme) Re: Re: Spreadsheet::WriteExcel::Big is Bigger
by shockme (Chaplain) on Jan 23, 2002 at 22:37 UTC |