From: Ryan Leavengood Date: 2005-10-18T06:22:39+09:00 Subject: Re: How to get non-unique elements from an array? On 10/17/05, Ryan Leavengood wrote: > The results: > > Small array, lots of iterations: > user system total real > markvh 0.391000 0.000000 0.391000 ( 0.391000) > martin 0.390000 0.000000 0.390000 ( 0.484000) > > Big array, one iteration: > user system total real > markvh 0.015000 0.000000 0.015000 ( 0.016000) > martin 0.000000 0.000000 0.000000 ( 0.000000) > > Overall Martin's was the best. As he suspected, David's was quite > slow. Sam's as well. On second thought, Mark's may have been the best overall. Either way, both Mark's and Martin's are good algorithms. Many of the others were good as well. Ryan