Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Cumulative Guessing JAPH

by jszinger (Scribe)
on Jan 07, 2021 at 18:18 UTC ( [id://11126545]=note: print w/replies, xml ) Need Help??


in reply to Cumulative Guessing JAPH

This is really fun to watch and was fun to decipher.

Why would this take a long time on an old PC?

The number of iterations is independent of CPU speed, and each iteration has a deliberate delay. In my testing, even on my slowest PC, CPU time is less than 10% of wall clock time, and the delay code itself consumes over 90% of the CPU time.

Replies are listed 'Best First'.
Re^2: Cumulative Guessing JAPH
by kschwab (Vicar) on Jan 07, 2021 at 19:12 UTC

    Why would this take a long time on an old PC?

    Yes, it's wouldn't. Just encouraging people to wait it out, it can run more than 10 seconds or so.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11126545]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-19 04:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found