libimobiledevice / libplist

A library to handle Apple Property List format in binary or XML
https://libimobiledevice.org
GNU Lesser General Public License v2.1
544 stars 305 forks source link

Plist_to_xml is very inefficient when converting to xml #125

Closed Amoystyle closed 5 years ago

Amoystyle commented 6 years ago

Plist_to_xml() is very inefficient when converting to xml!!!

When I create such a large document(CodeResources).

CodeResources.zip

nikias commented 5 years ago

I improved the memory usage efficiency a lot, please have a look: ac3be565c413f6964f0188e1c608c1bf8848db29

Amoystyle commented 5 years ago

I improved the memory usage efficiency a lot, please have a look: ac3be56

Good Job!!!