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
Thanks for your issue. How many new styles did you create, how much did memory cost in your case? and what expected you want? Could you follow the issue templates to provide more details about this issue?
1.Each file to perform new styles twice, A total of 200 calls.
2.Consumes 2g 10 c when case running.
3. Memory consumption is acceptable, but the cup is too high. Hope can optimize the new styles 's execution time
Locality: NewStyle() -> f.getStyleID() -> range ss.CellXfs.Xf
styles.go:2116
code:
for xfID, xf := range ss.CellXfs.Xf { if getXfIDFuncs["numFmt"](numFmtID, xf, style) && getXfIDFuncs["font"](fontID, xf, style) && getXfIDFuncs["fill"](fillID, xf, style) && getXfIDFuncs["border"](borderID, xf, style) && getXfIDFuncs["alignment"](0, xf, style) && getXfIDFuncs["protection"](0, xf, style) { styleID = xfID return styleID, err } }
range and getXfIDFuncs will copy each of the xf elements, consumes a lot of performance。
The text was updated successfully, but these errors were encountered: