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:)


Examine what is said, not who speaks.
1) When a distinguished but elderly scientist states that something is possible, he is almost certainly right. When he states that something is impossible, he is very probably wrong.
2) The only way of discovering the limits of the possible is to venture a little way past them into the impossible
3) Any sufficiently advanced technology is indistinguishable from magic.
Arthur C. Clarke.
  • Comment on Re: Re: number of unique characters in a string