
Hi, all. I hacked GC module and managed to slim PyGC_Head down from 3 words to 2 words. It passes test suite, while some comments and code cleanup is needed before merge. * https://bugs.python.org/issue33597 * https://github.com/python/cpython/pull/7043 I want to merge it after 3.7.0rc1 and buildbots are stable, if Antoine or other GC expert accept it. I estimate it reduces 5% memory usage (RSS) and negligible performance difference. If someone interested in it, please test and benchmark it on GC heavy application. Regards, -- INADA Naoki <songofacandy@gmail.com>

Looks like it breaks the 3.7 ABI, which is certainly not allowed at this time. But it’s not a limited API structure, so no problem for 3.8. Top-posted from my Windows 10 phone From: Victor Stinner Sent: Tuesday, May 29, 2018 6:44 To: INADA Naoki Cc: Python-Dev Subject: Re: [Python-Dev] Compact GC Header
I hacked GC module and managed to slim PyGC_Head down from 3 words to 2 words. It passes test suite, while some comments and code cleanup is needed before merge.
Does this change break the stable ABI? Victor _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/steve.dower%40python.org
participants (3)
-
INADA Naoki
-
Steve Dower
-
Victor Stinner