This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients eitan.adler, methane, pitrou, serhiy.storchaka, vstinner, yselivanov
Date 2018-06-01.00:58:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527814699.88.0.682650639539.issue33597@psf.upfronthosting.co.za>
In-reply-to
Content
https://github.com/python/cpython/pull/7043/commits/053111f321d792fb26f8be10abba24a980f3590f

I added one micro optimization.
Although it is not relating to two-word-gc directly, it makes gc_collect faster than master on the microbench (without importing tkinter.tix, because no GUI on my Linux environment).

$ ./python -m perf timeit --compare-to ./python-master -s "import gc, doctest, ftplib, asyncio, email, http.client, pydoc, pdb, fractions, decimal, difflib, textwrap, statistics, shutil, shelve, lzma, concurrent.futures, telnetlib, smtpd, trace, distutils, pkgutil, tabnanny, pickletools, dis, argparse" "gc.collect()"
python-master: ..................... 1.66 ms +- 0.08 ms
python: ..................... 1.58 ms +- 0.00 ms

Mean +- std dev: [python-master] 1.66 ms +- 0.08 ms -> [python] 1.58 ms +- 0.00 ms: 1.05x faster (-5%)
History
Date User Action Args
2018-06-01 00:58:20methanesetrecipients: + methane, pitrou, vstinner, serhiy.storchaka, yselivanov, eitan.adler
2018-06-01 00:58:19methanesetmessageid: <1527814699.88.0.682650639539.issue33597@psf.upfronthosting.co.za>
2018-06-01 00:58:19methanelinkissue33597 messages
2018-06-01 00:58:18methanecreate