From: "Ara.T.Howard" Date: 2005-10-19T01:46:29+09:00 Subject: Re: How to get non-unique elements from an array? On Wed, 19 Oct 2005, Ara.T.Howard wrote: > also, your concept of 'big' doesn't seem that, er, big - running with larger > numbers is also revealing - i started a process with > > harp:~ > ruby a.rb 424 42424 (factor of 10 increase in size) > > 1 hour ago and it's still not complete so many of the algorithms obviously > scale horribly. i'll post the results when (if) it finishes. results so far: harp:~ > ruby a.rb 424 42424 user system total real david 616.620000 0.000000 616.620000 (626.621697) jeff 10.610000 0.000000 10.610000 ( 10.635370) jegII 3.380000 0.000000 3.380000 ( 3.371940) markvh 43.970000 0.000000 43.970000 ( 44.051656) martin 3.120000 0.000000 3.120000 ( 3.122285) paolo 7.210000 0.000000 7.210000 ( 7.238185) park 4.270000 0.000000 4.270000 ( 4.291279) paul 6.700000 0.000000 6.700000 ( 6.729307) robert 7.780000 0.000000 7.780000 ( 7.779309) samk1 4.510000 0.010000 4.520000 ( 4.520682) samk2 432.290000 0.000000 432.290000 (433.597829) simonk 76.810000 0.040000 76.850000 ( 77.561346) simons 56.480000 0.000000 56.480000 ( 61.661304) zach 42.590000 0.010000 42.600000 ( 42.661407) user system total real david ... ... i expect another hour to complete... it's a dead heat between jegII and martin! bets? ;-) -a -- =============================================================================== | email :: ara [dot] t [dot] howard [at] noaa [dot] gov | phone :: 303.497.6469 | anything that contradicts experience and logic should be abandoned. | -- h.h. the 14th dalai lama ===============================================================================