Arrangement.
#10

Quote:
Originally Posted by ******
Посмотреть сообщение
It is what is called a recursive algorithm. It sorts the array by sorting the low half then the high half, and for each of those halves it first sorts the low half (quarter) and the high half (quarter) etc. There are ways to explicitly code the stack and avoid function recursion, and also ways to optimise for small arrays - I've just not implemented those things yet.
Oh ok - it's an interesting function :P (at least for me to read)
Reply


Messages In This Thread
Arrangement. - by nuriel8833 - 09.05.2012, 08:58
AW: Arrangement. - by EnzoMortelli - 09.05.2012, 09:05
Re: AW: Arrangement. - by nuriel8833 - 09.05.2012, 09:11
Re: Arrangement. - by aco_SRBIJA - 09.05.2012, 09:58
Re: Arrangement. - by [ABK]Antonio - 09.05.2012, 10:06
Re: Arrangement. - by Vince - 09.05.2012, 10:11
Re: Arrangement. - by [ABK]Antonio - 09.05.2012, 10:15
Re: Arrangement. - by nuriel8833 - 09.05.2012, 11:03
Re: Arrangement. - by [ABK]Antonio - 09.05.2012, 11:05
Re: Arrangement. - by [ABK]Antonio - 09.05.2012, 11:28

Forum Jump:


Users browsing this thread: