Optimisation of regexps in Perl?
From: Fredrik Ramsberg (f.r_at_mail.com)
Date: 10/14/03
- Next message: nobull_at_mail.com: "Re: While statement in perl"
- Previous message: robb: "Caller Id and win32::serial"
- Next in thread: Gunnar Hjalmarsson: "Re: Optimisation of regexps in Perl?"
- Reply: Gunnar Hjalmarsson: "Re: Optimisation of regexps in Perl?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 14 Oct 2003 02:31:16 -0700
When searching for a specific sequence of charcters, like ($text =~ /monkeybreath/),
how efficient is Perl compared to other algorithms specifically developed for this
purpose? Does Perl recognise that it can use its index() functionality to search?
And how efficient are index() and rindex() compared to the best text search
algorithms?
Regards,
/Fredrik
- Next message: nobull_at_mail.com: "Re: While statement in perl"
- Previous message: robb: "Caller Id and win32::serial"
- Next in thread: Gunnar Hjalmarsson: "Re: Optimisation of regexps in Perl?"
- Reply: Gunnar Hjalmarsson: "Re: Optimisation of regexps in Perl?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|