Re:One Billion Nested Loop Iterations
by sysread on Tuesday November 26, 2024 @05:27PM
(#42250775)
I tried this with elixir, and on my m3 mac, it ran in 6.5s. Perl took over 40s :P
[ Parent
| on HN ]
Oh, the programs are supposed to take an integer from the command line? Then I wonder how many of them would fail when given an integer that's just a wee bit too large (like, say (2^129)-1).