[issue30789] Redesign PyCodeObject.co_extras to use a single memory block, instead of two

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: I'm sorry for the spam. It was the first time that I really used the [Revert] button: even if the revert change is correct, the *commit message* is completely wrong :-/ https://mail.python.org/pipermail/python-committers/2017-July/004674.html -- ___

[issue30789] Redesign PyCodeObject.co_extras to use a single memory block, instead of two

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: > How is this related to datetime module? I hope you didn't reverted too much? I'm sorry for the spam. It was the first time that I really used the [Revert] button: even if the revert change is correct, the *commit message* is completely wrong :-/ https://mail.p

[issue30789] Redesign PyCodeObject.co_extras to use a single memory block, instead of two

2017-07-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: How is this related to datetime module? I hope you didn't reverted too much? -- ___ Python tracker ___ ___

[issue30789] Redesign PyCodeObject.co_extras to use a single memory block, instead of two

2017-07-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 by Victor Stinner in branch 'master': Revert "bpo-30822: Fix testing of datetime module." (#2588) https://github.com/python/cpython/commit/8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 --

[issue30789] Redesign PyCodeObject.co_extras to use a single memory block, instead of two

2017-07-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue30789] Redesign PyCodeObject.co_extras to use a single memory block, instead of two

2017-07-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 378ebb6578b9d709f38b888d23874c0b18125249 by Victor Stinner (Serhiy Storchaka) in branch 'master': bpo-30789: Use a single memory block for co_extra. (#2555) https://github.com/python/cpython/commit/378ebb6578b9d709f38b888d23874c0b18125249 --

[issue30789] Redesign PyCodeObject.co_extras to use a single memory block, instead of two

2017-07-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Since nobody has provided a patch I have made it myself. -- stage: needs patch -> patch review ___ Python tracker ___

[issue30789] Redesign PyCodeObject.co_extras to use a single memory block, instead of two

2017-07-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2624 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue30789] Redesign PyCodeObject.co_extras to use a single memory block, instead of two

2017-06-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue30789] Redesign PyCodeObject.co_extras to use a single memory block, instead of two

2017-06-27 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +dino.viehland, yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30789] Redesign PyCodeObject.co_extras to use a single memory block, instead of two

2017-06-27 Thread STINNER Victor
New submission from STINNER Victor: Currently, _PyCode_SetExtra() uses two memory block for code extras. Using a different structure, it would be possible to use a single memory block: less memory fragmentation, better CPU cache usage, less indirections, etc. It matters since the long term pla