pqzx / html2docx

Convert html to docx
MIT License
69 stars 49 forks source link

Improve Performance of Large Tables #58

Open dashingdove opened 1 year ago

dashingdove commented 1 year ago

Calling Table.cell for every cell degrades performance significantly when building large tables. To improve the performance, I have modified the code to only build the array of cells once per table, which is much faster.