------ art_9693_27332356.1129871854326 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hey guys, Also check out Ferret for another ruby indexing library. http://ferret.davebalmain.com/trac But this quiz is still a great idea. It was something I thought about while writing Ferret. It will be interesting to see what people come up with. I'll certainly be partaking. As Ryan mentioned, the goal should be to solve the problem in the shortest, most elegant, yet fastest way possible. HINT: From the OP's example, you'll get much better search speeds for large document sets by inverting the index. Regards, Dave On 10/20/05, James Edward Gray II <james / grayproductions.net> wrote: > > On Oct 19, 2005, at 9:54 AM, Ryan Leavengood wrote: > > > On 10/19/05, James Edward Gray II <james / grayproductions.net> wrote: > > > >> > >> Is there any interest in this? I'm fine with running it, if anybody > >> thinks they would like to work it. > >> > > > > It sounds interesting to me. Despite doing all the benchmarking I > > never did create my own solution for the non-unique array elements > > problem, so it might be fun to take part in a similar exercise for a > > quiz. > > I've added this problem to the quiz queue. It will show up in a few > weeks. > > Thank you both. > > James Edward Gray II > > > ------ art_9693_27332356.1129871854326--