View Single Post
Old 08-07-2014, 12:58 AM   #489
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,820
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by davidfor View Post
Looking at the code, the sort is done once after all the duplicates have been found. I can see the sort would be longer than the name sort, but, I wouldn't have expected it to be that much longer.
Good to know the sorting is done at the end, otherwise my faith in kiwidudes good sense would have been called into question.

Curious: Why would you you expect sorting a collection of ints to be slower than sorting a collection of char arrays

BR
BetterRed is offline   Reply With Quote