mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-15 20:46:26 +00:00
Performance Experiment for the String Table, to avoid creating empty cells; should also be slightly faster
This commit is contained in:
@@ -35,8 +35,8 @@ class StringTable extends WriterPart
|
||||
$aFlippedStringTable = $this->flipStringTable($aStringTable);
|
||||
|
||||
// Loop through cells
|
||||
foreach ($worksheet->getCoordinates() as $coordinate) {
|
||||
$cell = $worksheet->getCell($coordinate);
|
||||
foreach ($worksheet->getCellCollection()->getCoordinates() as $coordinate) {
|
||||
$cell = $worksheet->getCellCollection()->get($coordinate);
|
||||
$cellValue = $cell->getValue();
|
||||
if (
|
||||
!is_object($cellValue) &&
|
||||
|
||||
Reference in New Issue
Block a user