I can also confirm perl 0.612s vs python 0.406s
I have measured the time reading the file only. perl is twice as fast as python:
Perl: real 0m0.064s user 0m0.016s sys 0m0.047s Python: real 0m0.123s user 0m0.046s sys 0m0.075s
In reply to Re^3: Python regex faster than Perl?
by bliako
in thread Python regex faster than Perl?
by dave93
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |