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 vstinner
Recipients izbyshev, methane, serhiy.storchaka, vstinner
Date 2018-08-23.07:50:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1535010605.6.0.56676864532.issue34436@psf.upfronthosting.co.za>
In-reply-to
Content
I ran a microbenchmark on PR 8826:

./python -m perf timeit -s 'fmt=b"%s%s"; args=(b"1", b"x"*(1024*1024))' 'fmt % args' -v -o patch.json

$ python3 -m perf compare_to ref.json patch.json
Mean +- std dev: [ref] 325 us +- 7 us -> [patch] 36.2 us +- 1.1 us: 8.98x faster (-89%)

Ooops, yeah, it's obvious that there was a missed optimization. It's now way faster ;-)
History
Date User Action Args
2018-08-23 07:50:05vstinnersetrecipients: + vstinner, methane, serhiy.storchaka, izbyshev
2018-08-23 07:50:05vstinnersetmessageid: <1535010605.6.0.56676864532.issue34436@psf.upfronthosting.co.za>
2018-08-23 07:50:05vstinnerlinkissue34436 messages
2018-08-23 07:50:05vstinnercreate