in reply to Re: Comparing a value to a list of numbers
in thread Comparing a value to a list of numbers
Other monks have suggested a binary search solution, but did not provide an example.
Set::IntSpan uses a binary search.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Comparing a value to a list of numbers
by LanX (Saint) on Jan 31, 2021 at 20:06 UTC | |
by haukex (Archbishop) on Feb 01, 2021 at 15:48 UTC | |
by LanX (Saint) on Feb 01, 2021 at 16:06 UTC | |
by haukex (Archbishop) on Feb 01, 2021 at 18:18 UTC | |
by syphilis (Archbishop) on Feb 02, 2021 at 01:38 UTC | |
| |
by LanX (Saint) on Feb 01, 2021 at 18:36 UTC |
In Section
Seekers of Perl Wisdom