bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #37130] NSArray does not implement sorting and insertion assuming s


From: Richard Frith-Macdonald
Subject: [bug #37130] NSArray does not implement sorting and insertion assuming sorted
Date: Tue, 11 Sep 2012 06:04:04 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.25 (KHTML, like Gecko) Version/6.0 Safari/536.25

Follow-up Comment #7, bug #37130 (project gnustep):


Without copyright assignment we can't merge the code (though obviously we can
merge pulic interface bits) ... in effect we have to treat this as a request
to implement this functionality.

I've been searching the web for information about sorts, and it seems that the
best overall performer for general sorting is thought to be quicksort (at
least, I cound comments to that effect on wikipedia and in a couple of other
places) ... the merge sort is certainly better for some cases, but with arrays
we should probably use the existing quicksort implementation from
NSSortDescriptor. 

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37130>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]