in reply to Re: retrieve next avaiable element in sorted hash
in thread retrieve next avaiable element in sorted hash
The problem is that what is being asked for is not they next key, but the next key with a defined value. Even with the binary search, you still need to iterate after you find your target until you find a defined key value. My idea is a variation that should get the job done.
Cheers - L~R
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: retrieve next avaiable element in sorted hash
by demerphq (Chancellor) on Oct 06, 2003 at 23:54 UTC | |
by Limbic~Region (Chancellor) on Oct 06, 2003 at 23:57 UTC |