summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/workbook/shared_strings_table.rb
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2013-01-10 18:27:27 +0900
committerRandy Morgan <[email protected]>2013-01-10 18:27:27 +0900
commit58e8dd8a2b1a4a85ac77bf680914daf16eb695f1 (patch)
tree980bf825b4b5c5fb55ef55b1b7f0ea2eb9b13533 /lib/axlsx/workbook/shared_strings_table.rb
parentf7eeb07abfa1c58552847b2b38787f44cd3e2d24 (diff)
downloadcaxlsx-58e8dd8a2b1a4a85ac77bf680914daf16eb695f1.tar.gz
caxlsx-58e8dd8a2b1a4a85ac77bf680914daf16eb695f1.zip
reduced processing of 3000 rows from 3+ seconds to just under 2
Diffstat (limited to 'lib/axlsx/workbook/shared_strings_table.rb')
-rw-r--r--lib/axlsx/workbook/shared_strings_table.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/shared_strings_table.rb b/lib/axlsx/workbook/shared_strings_table.rb
index 61402aec..43e8a1a8 100644
--- a/lib/axlsx/workbook/shared_strings_table.rb
+++ b/lib/axlsx/workbook/shared_strings_table.rb
@@ -58,7 +58,7 @@ module Axlsx
cell.send :ssti=, index
else
cell.send :ssti=, @index
- @shared_xml_string << '<si>' << cell.run_xml_string << '</si>'
+ @shared_xml_string << '<si>' << CellSerializer.run_xml_string(cell) << '</si>'
@unique_cells[cell_hash] = @index
@index += 1
end