Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Hungarian Alphabet Sort (was Re: Collation sequence - proper and eff

From: carl:cybercraft at: 19-May-2002 12:32

On 18-May-02, G. Scott Jones wrote:
> By George, I think you've done it! At least it appears to sort the > sample Hungarian word list correctly. That is a slick solution. It > is about 35% faster than my original effort. Good job. I like the > way you handled the characters of equivalent weight, although I've > not put this apsect through any testing. Good job! > --Scott Jones
Good to hear it seems to work Scott. Be interesting to know what other languages it can work with. One possible improvement in the creation of the rule would be to allow for some of the strings in blocks to be treated as a collection of seperate characters, perhaps by using a different string datatype to string!, such as file!. So that instead of this... ["a" "b" "c" "ch" "d" "e"] we could have... [%abc "ch" %de] Though it'd probably be better round the other way. What would be the best string datatype for such a job? -- Carl Read