Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: print log file

by MidLifeXis (Monsignor)
on Nov 30, 2006 at 18:18 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-16 19:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found