Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Cumulative Guessing JAPH

by jszinger (Scribe)
on Jan 07, 2021 at 18:18 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2022-05-24 02:34 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (82 votes). Check out past polls.