I have made some preliminary work on this in a branch: https://closedxml.codeplex.com/SourceControl/network/forks/AlbinSunnanbo/closedxml?branch=PerformanceImprovements
In a simple example I have cut the times for AdjustToContents down to about one third of the original time. Now AjustToContents is faster than the XLWorkBook.SaveAs method for an example file with 10 columns, 20k rows.
I have a few other hot spots I want see if they could be improved, both in AdjustToContents and in Save, before I wrap up a pull request.
In a simple example I have cut the times for AdjustToContents down to about one third of the original time. Now AjustToContents is faster than the XLWorkBook.SaveAs method for an example file with 10 columns, 20k rows.
I have a few other hot spots I want see if they could be improved, both in AdjustToContents and in Save, before I wrap up a pull request.