[issue32196] Rewrite plistlib with functional style

2017-12-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have made this PR because functional style looks to me more for this kind of tasks. For every serialization or deseralization we have a distinct set of functions with common state. The state can be passes between functions as

[issue32196] Rewrite plistlib with functional style

2017-12-03 Thread Ronald Oussoren
Ronald Oussoren added the comment: I don't have time to perform a review right now, I'm trying to get PEP 447 through review and that takes most of my available time at the moment. I'm not convinced that the speedup of plistlib is relevant for real-world code, plist

[issue32196] Rewrite plistlib with functional style

2017-12-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +4579 stage: -> patch review ___ Python tracker ___

[issue32196] Rewrite plistlib with functional style

2017-12-01 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The proposed PR rewrites the plistlib module using a functional style. This speeds up loading and saving plist files at least by 10%. Saving plist files in XML format have sped up almost twice. $ ./python -m timeit -s