<abu[m]>
An empty coroutine also runs with (stack 2), but 'pause' needs more stack it seems
<abu[m]>
Also, creating more coroutines lets it get slower and slower, because for each new coroutine all the stack frames need to be traversed searching for a free place
<tankf33der>
Insane
<tankf33der>
next level
<tankf33der>
Afk.
<abu[m]>
Anyway, now I understand why 'pause' needs quite some stack space. It uses 'idx' which is recursive.
rob_w has joined #picolisp
avocadoist has quit [Ping timeout: 256 seconds]
msavoritias has joined #picolisp
seninha has joined #picolisp
<abu[m]>
No, I'm wrong. 'idx' is not recursive.
<abu[m]>
(stack 2) is simply too small for a usable stack segment
<abu[m]>
I would recommend a minimum stack segment size of 8
rob_w has quit [Remote host closed the connection]
<beneroth>
yeah... I guess you can construct a recursive/circular idx, but it would be a bad idea...
<abu[m]>
Yes, all internal binary trees in pil are non-recursive
<abu[m]>
Recursive versions are a lot easier, but may use a lot more stack
seninha has quit [Remote host closed the connection]
abu[7] has joined #picolisp
payphone has quit [Remote host closed the connection]
casaca has quit [Write error: Connection reset by peer]
cpli has quit [Remote host closed the connection]
cpli has joined #picolisp
payphone has joined #picolisp
casaca has joined #picolisp
abu[7] has quit [Remote host closed the connection]