HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by cup-of-tea | Hacker News Reader
Parent
Full thread
cup-of-tea
·
So it's deterministic. I got the same numbers.
View on HN
akavel
·
On the Playground or on your PC? The Playground has an execution cache, so the same input code always gives the same (thus "deterministic") result.
cup-of-tea
·
Ah OK, it was on the playground. Is it deterministic when not cached?
dosshell
·
It is not deterministic on playground if it is not cached.
You can add dummy code to the file to break free from the cache.
rejschaap
·
Adding some white space also does the trick
Reply on news.ycombinator.com