You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we're using Axlsx for generating rather large sheets (> 20k rows; > 50 columns).
I think that there could be some quick wins by by applying # frozen_string_literal: true to the CellSerializer class and adjust some of its methods to not modify frozen strings.
Some local profiling showed that this could safe ~1.000.000 object allocations for big sheets.
What do you think about it? If you're open to that, I could prepare a PR.
Best
Alex
The text was updated successfully, but these errors were encountered:
Hi,
we're using
Axlsx
for generating rather large sheets (> 20k rows; > 50 columns).I think that there could be some quick wins by by applying
# frozen_string_literal: true
to theCellSerializer
class and adjust some of its methods to not modify frozen strings.Some local profiling showed that this could safe ~1.000.000 object allocations for big sheets.
What do you think about it? If you're open to that, I could prepare a PR.
Best
Alex
The text was updated successfully, but these errors were encountered: