Re: to select unique charactersby johngg (Canon)
|on Feb 13, 2008 at 10:42 UTC||Need Help??|
The common idiom seems to be
but using a hash slice seems to be a bit faster. I should warn that I have a chequered history with benchmarks so take this with a pinch of salt.
If you need to preserve the order of the array then you should use the grep method.
I hope this is of interest.