From: David Balmain Date: 2005-10-21T14:17:36+09:00 Subject: Re: Ruby Quiz Idea ------=_Part_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'l= l 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 wrote: > > On Oct 19, 2005, at 9:54 AM, Ryan Leavengood wrote: > > > On 10/19/05, James Edward Gray II 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 > > > ------=_Part_9693_27332356.1129871854326--