> However, for my purposes, "grade" is usually more useful than "sort".
Grade can be derived readily from sort:
sort=: /:~
grade=: > @ ({:"1"_) @ sort @ (;"_1 [EMAIL PROTECTED])
grade 'metonymic'
8 1 7 0 6 4 3 2 5
/: 'metonymic'
8 1 7 0 6 4 3 2 5
For a related discussion, see
http://www.jsoftware.com/jwiki/Essays/Sorting_versus_Grading
----- Original Message -----
From: Devon McCormick <[EMAIL PROTECTED]>
Date: Thursday, August 2, 2007 18:57
Subject: Re: [Jprogramming] burstsort - using Burst Tries: fastest sort?
To: Programming forum <[email protected]>
> I would be happy to let Roger implement this for J, just as he
> has already
> implemented very good random number generators and factoring
> algorithms.
> However, for my purposes, "grade" is usually more useful than "sort".
>
> I don't mean this as a put-down. Any real breakthrough in
> sorting is
> potentially
> of great benefit to us all, but not necessarily at the level of
> a J
> application.
> The power of the language is in encapsulating high-level
> concepts, not
> in the low-level
> details of the implementation of a well-known concept like sorting.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm