[issue34141] Speed up pickling simple non-recusive values

2018-07-18 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34141] Speed up pickling simple non-recusive values

2018-07-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5d4cb54800966947db2e86f65fb109c5067076be by Serhiy Storchaka in branch 'master': bpo-34141: Optimized pickling simple non-recursive values. (GH-8318) https://github.com/python/cpython/commit/5d4cb54800966947db2e86f65fb109c5067076be

[issue34141] Speed up pickling simple non-recusive values

2018-07-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +7853 stage: -> patch review ___ Python tracker ___ ___

[issue34141] Speed up pickling simple non-recusive values

2018-07-17 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The proposed PR reduces an overhead of calling Py_EnterRecursiveCall() when pickle simple non-recusive values: None, True, False, instances of int, float, bytes, str. $ ./python -m timeit -s 'data = list(range(10**7)); import pickle' --