Re: Request for private mentoring
- Posted by jimcbrown (admin) in May
- 358 views
axtens_bruce said...
binary-search attempted. There's a better way, right?
-Bruce
Was hoping to point you to the archives, but looks like they are down: https://openeuphoria.org/forum/m/138487.wc (same is true of usingeuphoria.com )
That said, you can look at the db_find_key() method in std/eds.e - as per Greg and the official docs, EDS uses a fast binary search: https://openeuphoria.org/forum/m/136464.wc & https://openeuphoria.org/wiki/view/updating%20oE%20%20db_find_key.wc
Also, check out the bsearch() routine in https://openeuphoria.org/forum/m/124974.wc from Pete Eberlein.