in reply to Re: number of unique characters in a string
in thread number of unique characters in a string
Nice benchmark.
I really surprised that you measured Buk-3 as quicker tha Buk-4, that contradicts mine own testing and Jenda's, which is strange.
Also, you are unfairly penalising those routines where you assign, @_=$_; better to substitute $_ for shift or $_[0] as appropriate.
All inconsequential in the light of the speed of the Inline::C version, unless you haven't got Inline::C available to you:)
|
---|