[Mono-dev] Patch for fixing binary search

Duncan Mak duncan at novell.com
Sun Jun 4 20:50:08 EDT 2006


On Sun, 2006-06-04 at 14:41 -0700, Ben Maurer wrote:
> Hey,
> 
> This also exists for qsort
>         
>         object objPivot = keys.GetValueImpl ((low + high) / 2);

Good call.

Here's v2.

Duncan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-binary-search-v2.patch
Type: text/x-patch
Size: 3254 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060604/57d1080d/attachment.bin 


More information about the Mono-devel-list mailing list