Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: Shortest string containing all from 0000 to 9999 challenge.

by EvdB (Deacon)
on May 22, 2003 at 11:48 UTC ( #260034=note: print w/replies, xml ) Need Help??


in reply to Re: Shortest string containing all from 0000 to 9999 challenge.
in thread Shortest string containing all from 0000 to 9999 challenge.

When I started the problem I used alot of arrays - which carried over into my analysis code.

Yours is slicker and a good demonstration of the substr function. Just to prove it here are the benchmarks:

Rate EvdB saouq EvdB 7.89/s -- -67% saouq 23.8/s 202% --

--tidiness is the memory loss of environmental mnemonics

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://260034]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2018-07-17 07:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (357 votes). Check out past polls.

    Notices?