Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Parser Performance Question

by KurtZ (Friar)
on Oct 05, 2017 at 12:39 UTC ( [id://1200729]=note: print w/replies, xml ) Need Help??


in reply to Parser Performance Question

Would love to replace the Perl code with Python, 
Good luck, python has a compatible regexp engine. I don't think it can solve conceptional problems in your code. :)

Replies are listed 'Best First'.
Re^2: Parser Performance Question
by QM (Parson) on Oct 20, 2017 at 09:17 UTC
    Python's regexes are not as fully featured as Perl's. For instance, /i isn't scoped, it's either enabled or disable for the whole match, IIRC.

    I would be really really surprised if Perl's regex performance was worse than Python's on a fair comparison.

    -QM
    --
    Quantum Mechanics: The dreams stuff is made of

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1200729]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-19 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found