Re: Re: qsort fix

From: Date: Fri, 28 May 1999 17:06:28 +0000
Subject: Re: Re: qsort fix
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-6178@lists.php.net to get a copy of this message
> I actually think it's legitimate. If your comparison function isn't > deterministic, the sorting algorithm may not make sense, and it > assumptions one makes when designing a sorting algorithm (at the very > least, that there's an order defined on the to-be-sorted set) end up not > being valid, and may screw the algorithm. Then that should be stated. Especially when all other implementations don't crash on this. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#6178) next »