Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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
Domain Nodelet?
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 making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2021-10-17 23:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (72 votes). Check out past polls.

    Notices?