sorting.quick: speedup by inline sort!.

db4
John Benediktsson 2015-06-15 20:44:26 -07:00
parent 1303d37358
commit 4550294227
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ IN: sorting.quick
PRIVATE>
: sort! ( seq quot: ( obj1 obj2 -- <=> ) -- )
[ 0 over length 1 - ] dip quicksort ;
[ 0 over length 1 - ] dip quicksort ; inline
: sort-with! ( seq quot: ( elt -- key ) -- )
[ compare ] curry sort! ; inline