Re: binary search with reference to append
- Posted by jaygade Jun 15, 2014
- 1790 views
I have (little) opinion on how binary search is implemented in the standard library. Before this thread I didn't even know.
You just presented an interesting problem to me, as well as a theory question. Heck, your own code was some kind of weird bastardization between C and Euphoria. I've also expressed my opinion on the theory question -- that the caller should validate the data, but that the callee should crash for known bad values or ranges.
If you want to propose changes to the standard library, then propose them.