Message286757
| Author |
vstinner |
| Recipients |
methane, python-dev, vstinner, yselivanov |
| Date |
2017年02月02日.10:04:40 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1486029880.6.0.296775608496.issue29263@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I tried to benchmark b''.decode(encoding='ascii'): CALL_METHOD is not used for this call, but CALL_FUNCTION_KW :-/ So the call is not affected by your patch.
I also ran a quick benchmark on loadmethod-methoddescr.patch:
b''.decode(): 71.1 ns +- 0.5 ns -> 65.4 ns +- 0.2 ns: 1.09x faster (-8%)
b''.decode('utf8'): 92.8 ns +- 0.4 ns -> 85.5 ns +- 0.3 ns: 1.09x faster (-8%)
I confirm the speedup. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2017年02月02日 10:04:40 | vstinner | set | recipients:
+ vstinner, methane, python-dev, yselivanov |
| 2017年02月02日 10:04:40 | vstinner | set | messageid: <1486029880.6.0.296775608496.issue29263@psf.upfronthosting.co.za> |
| 2017年02月02日 10:04:40 | vstinner | link | issue29263 messages |
| 2017年02月02日 10:04:40 | vstinner | create |
|