Author vstinner
Recipients inada.naoki, izbyshev, 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, inada.naoki, 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