From: Ben Tilly Date: 2001-02-28T03:53:18+09:00 Subject: [ruby-talk:11708] Re: Array bugs? ts wrote: > > >>>>> "C" == Christoph Rippel writes: > [...] > You're right it's faster > >pigeon% time ruby b.rb >true >false >[3] >[1, 2, 3, [...], [...]] >[1, 2, [...], [1, 2, 3, [...], [...]]] >true >true >false [...] Could you repost this b.rb script that you are using? > > For Array#<=> can I do the samething than Array#== because actually it >send an error message when it find a recursive array > > rb_raise(rb_eArgError, "tried to compare recursive array"); The same strategy should work, but I think I can speed it up. If the stupid DNS that I live behind cooperates, I will try to post something tonight. Cheers, Ben _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com