Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^7: How to check lines that start with the same word then delete one of them

by Laurent_R (Canon)
on Apr 10, 2020 at 15:42 UTC ( #11115328=note: print w/replies, xml ) Need Help??


in reply to Re^6: How to check lines that start with the same word then delete one of them
in thread How to check lines that start with the same word then delete one of them

No, a hash lookup is usually O(1), it does take some time, sure, but the time it takes does not depend (generally) on the hash size.
  • Comment on Re^7: How to check lines that start with the same word then delete one of them

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2020-09-20 12:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (121 votes). Check out past polls.

    Notices?