Message323925
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 ;-) |
|
Date |
User |
Action |
Args |
2018-08-23 07:50:05 | vstinner | set | recipients:
+ vstinner, methane, serhiy.storchaka, izbyshev |
2018-08-23 07:50:05 | vstinner | set | messageid: <1535010605.6.0.56676864532.issue34436@psf.upfronthosting.co.za> |
2018-08-23 07:50:05 | vstinner | link | issue34436 messages |
2018-08-23 07:50:05 | vstinner | create | |
|