3 ms·
> Note that the Python version of pi requires an unbounded amount of memory Really? I measure it as exactly 200 bytes (not counting the 4-space indentation tha
by chriswarbo 5y ago
> Note that the Python version of pi requires an unbounded amount of memory
Really? I measure it as exactly 200 bytes (not counting the 4-space indentation that HackerNews requires, and not including a trailing newline)
> and, more importantly, an infinite amount of time to produce pi to infinite precision
I can see it right now, with infinite precision. If it's taking an infinite amount of time to show up I'd contact your ISP ;)
- mcguire 5y agoAh, I see where you are going with this. However, I can offer a version which, without loss of generality, gives another 200-to-1 compression (not counting UTF-8 multibytes): π. There it is, in all it's infinite splendor.