From: "Carl Read" > On 15-May-02, G. Scott Jones wrote: > > > From: "Volker Nitsch" > > ... > >> not sure if this helps, but since i spended some time to it, > >> i post ;) > > > <snipped code> > > > Hi, Volker, > > > Neat idea. Kind of like a good cut of beef, I'm going to have to > > chew on it a bit to fully understand its potential. Thanks for the > > trans-atlantic volley ball pass. > > Glad you could work it out, as I couldn't make head nor tail of it. (:
I'm still cooking the meat on the barbie before I can chew it! ;) > > Anyway, I've played around with my idea for sorting according to a > pattern, and while I'm not sure if the following code's very fast (or > bug-free:), like Volker, I post. > > There's two functions: One to take a pattern for creating a rule from > and another to use the rule to sort strings or blocks of strings > with. First, the functions... <nifty code snipped ... see: http://www.escribe.com/internet/rebol/m22420.html > This is extremely promising. I drew from the ISO-8859-2 character set to make a rule, and it initially seems to sort correctly. The time through is roughly the same as my hack (but I've not really set-up a clean time condition). The only problem so far occurs when I run my word sample list through more than once. It seems to magically have kept the original sort/s and continues to append new results to the block. I cannot seem to find where the problem is occurring. Furthermore, I'm out of computer "play-time" today, so it will have to wait. :( Meanwhile, I'm waiting for Volker's serving to slow cook, so I can fully savor it soon!. Thanks for the input. Very exciting because it is so clean! --Scott Jones -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
