in reply to Re^2: Python regex faster than Perl?
in thread Python regex faster than Perl?
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
|
---|