Serhiy Storchaka added the comment: > 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26436> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com