Message149159
| Author |
skrah |
| Recipients |
ezio.melotti, jcea, loewis, skrah, vstinner |
| Date |
2011年12月10日.14:16:46 |
| SpamBayes Score |
0.0002603368 |
| Marked as misclassified |
No |
| Message-id |
<1323526606.88.0.0464919468634.issue13570@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> I prefer to not expose such function or someone will use it without
> understanding exactly how dangerous it is.
OK. - I'm afraid that I made an error in the benchmarks, since I
accidentally used a changed version of telco.py, namely:
# t is a Decimal
outfil.write("%s\n" % t) # original version
...
outfil.write(str(t)) # changed version runs
outfil.write('\n') # faster since PEP-393
...
Since PEP-393 the changed version with two calls to write()
runs quite a bit faster than the original. For Python-3.2
and 2.7 the original runs faster.
Do you have an idea what could cause this? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年12月10日 14:16:46 | skrah | set | recipients:
+ skrah, loewis, jcea, vstinner, ezio.melotti |
| 2011年12月10日 14:16:46 | skrah | set | messageid: <1323526606.88.0.0464919468634.issue13570@psf.upfronthosting.co.za> |
| 2011年12月10日 14:16:46 | skrah | link | issue13570 messages |
| 2011年12月10日 14:16:46 | skrah | create |
|