Re: Efficient Vector Comparison



Yao Qi wrote:
Yeah, what I want is to sort the vectors.

Use a lexical tree (or "trie").

Unfortunately, our code base is written in C,

You might like to write this bit in OCaml or F# (it will be a lot easier!).

--
Dr Jon D Harrop, Flying Frog Consultancy
The OCaml Journal
http://www.ffconsultancy.com/products/ocaml_journal/?usenet
.



Relevant Pages