Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: print log file

by MidLifeXis (Monsignor)
on Nov 30, 2006 at 18:18 UTC ( #587027=note: print w/replies, xml ) Need Help??


in reply to Re: print log file
in thread print log file

Also known as a binary search (term must have changed since I went to college).

--MidLifeXis

Replies are listed 'Best First'.
Re^3: print log file
by johngg (Canon) on Nov 30, 2006 at 23:05 UTC
    It must have been 25 years ago that I was told about this technique and the name given then was binary chop, I guess because you successively chop the range to be searched in half. Perhaps the name depends on which side of the Atlantic you live. Strangely enough, until today, when I coded one to test if my suggestion worked (it did), I had never had occaision to use one.

    Cheers,

    JohnGG

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2021-10-21 19:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (83 votes). Check out past polls.

    Notices?