Message248632
| Author |
methane |
| Recipients |
ezio.melotti, methane, vstinner |
| Date |
2015年08月15日.03:13:43 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1439608423.88.0.0757117336714.issue24870@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
On MacBook Pro (Core i5 2.6GHz), surrogateescape 1MB data takes 250ms.
In [1]: bs = bytes(range(256)) * (4 * 1024)
In [2]: len(bs)
Out[2]: 1048576
In [3]: %timeit x = bs.decode('ascii', 'surrogateescape')
1 loops, best of 3: 249 ms per loop |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年08月15日 03:13:43 | methane | set | recipients:
+ methane, vstinner, ezio.melotti |
| 2015年08月15日 03:13:43 | methane | set | messageid: <1439608423.88.0.0757117336714.issue24870@psf.upfronthosting.co.za> |
| 2015年08月15日 03:13:43 | methane | link | issue24870 messages |
| 2015年08月15日 03:13:43 | methane | create |
|