[Mono-dev] Minor change to Array.cs CODE REVIEW NEEDED

Scott Peterson lunchtimemama at gmail.com
Sun Dec 30 02:24:34 EST 2007


You mean performance numbers? No, but it's one less comparison done each
time through the while loop, so "better" is all I know.

On Dec 29, 2007 8:57 PM, Miguel de Icaza <miguel at novell.com> wrote:

> > This is a minor change to the quicksort algorithm in Array.cs. It
> > eliminates an unnecessary comparison in a while loop. This is safe
> > because that comparison is done at the start of the qsort method and
> > at the end of every iteration of the while loop. If someone can O.K.
> > this, I'll commit it.
>
> This looks fine.   Do you have any numbers?
>
> Miguel.
>



-- 
Scott.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071230/cdbdb3a6/attachment.html 


More information about the Mono-devel-list mailing list