Message260932
> I assume the code looks idiomatic to you?
Sorry, I have not understood your question. Could you please reformulate?
The performance of all Python versions is rough the same. 2.7 is about 8% slower than 3.2 and 3.3, 3.4-default are about 3-4% slower than 3.2 and 3.3.
I have taken input data size such that the regex-dna benchmark runs rough the same time as the slowest regex benchmark regex-compile (0.7 sec per iteration on my computer, about a minute with default options). This is 1/50 of the size used in The Computer Language Benchmarks Game.
Since the benchmark generates input data, its size can easily be changed. Needed only update control sums. |
|
Date |
User |
Action |
Args |
2016-02-27 08:40:27 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, brett.cannon, pitrou |
2016-02-27 08:40:27 | serhiy.storchaka | set | messageid: <1456562427.61.0.900748325219.issue26436@psf.upfronthosting.co.za> |
2016-02-27 08:40:27 | serhiy.storchaka | link | issue26436 messages |
2016-02-27 08:40:26 | serhiy.storchaka | create | |
|