Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Deleting values from string using array

by Cristoforo (Deacon)
on Jun 16, 2012 at 18:49 UTC ( #976586=note: print w/ replies, xml ) Need Help??


in reply to Re: Deleting values from string using array
in thread Deleting values from string using array

Just a small note. Starting with perl 5.010, you can assemble the stop words into a alternating string separated by the pipe, '|', character and it will use a 'trie' to combine the stop words. It is claimed (by somebody?), the 'trie' approach is big-O 1, an algorithm in constant time (in most cases, they claim). Similiar to what Regexp::Assemble does.

I think I read somewhere that you shouldn't use Regexp::Assemble with perl version > 5.8 because it will muck things up.


Comment on Re^2: Deleting values from string using array

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (20)
As of 2014-07-29 13:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (217 votes), past polls