Skip to content

Improve write performance

Created by: ducquangkstn

Currently, excelize writing approach is:

  • marshal obj with format xml to []byte (XLSX field)
  • write XLSX to bytes.Buffer
  • write buffer to file However, this approach will consume a lot of memory when the amount of data is large. I suggest writing to file as stream with xml.Decoder I would like to create a PR if u think this proposal is necessary