Mar 26, 2022 02:41 AM
(This post was last modified: Mar 26, 2022 02:43 AM by simmer.)
I have this code that gets me a stack overflow:
Thanks, I know right, code that not only doesn’t work but wastes your time while it figures out it doesn’t work
I need to focus on N all at once, no trying to count to it, no trying to focus on every individual part of it.
I think that this is called Parallel Programming, and as for the v, i, k, n I need Lazy Evaluation. k, v.append are for context related issues but that is out of the scope of this thread.
Code
Q = set()
N = []
while True:
Q = set(Q)
N.append(Q)
v = i = k = n = any(N)
N_inf = N[-1]
v.append(i)
k.append(n)I need to focus on N all at once, no trying to count to it, no trying to focus on every individual part of it.
I think that this is called Parallel Programming, and as for the v, i, k, n I need Lazy Evaluation. k, v.append are for context related issues but that is out of the scope of this thread.


