Keep It Simple, Stupid | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I expected 5x or maybe 10x faster for the C version but 22... One thing to note. The original version of nUniqC() that uses the local array is quicker than the one (re)-using @_ despite my claims for the latter. Turned out it was an artifact of my own testing that gave me false readings. Not that it is going to get even close to merlyn's. It's good to get a feel for the difference, and will make me renew my efforts to build my own version of Perl so that I will have that facility available to me. 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. In reply to Re: BENCHMARK Re: number of unique characters in a string
by BrowserUk
|
|