[Pd] Stack Overflow

Chuckk Hubbard badmuthahubbard at gmail.com
Fri Mar 24 07:08:47 CET 2006


Oh yeah.  That was why I was afraid to use until.



On 3/24/06, Chuckk Hubbard <badmuthahubbard at gmail.com> wrote:
> How does this look?
>
>
> On 3/23/06, Tim Blechmann <TimBlechmann at gmx.net> wrote:
> > On Thu, 2006-03-23 at 06:59 -0500, Chuckk Hubbard wrote:
> > >
> > > Can anyone explain more about what exactly "stack overflow" is?  Might
> > > it help if I just put a 1 ms delay for each scalar?
> >
> > you've written a recursive patch, so each recursion increases the
> > interpreter stack ... if your recursions are happening too often ...
> > booooooom ... :-/
> >
> > it's probably better to solve something like this with an iteration,
> > which doesn't use the stack ... in pd it can be done with the |until|
> > object ...
> >
> > hth ... tim
> >
> > --
> > TimBlechmann at gmx.de    ICQ: 96771783
> > http://www.mokabar.tk
>
>
>


--
"It is not when truth is dirty, but when it is shallow, that the lover
of knowledge is reluctant to step into its waters."
-Friedrich Nietzsche, "Thus Spoke Zarathustra"
-------------- next part --------------
#N canvas 481 194 668 633 12;
#X obj 108 41 inlet;
#X obj 77 339 outlet;
#X msg 108 185 next;
#X obj 108 76 route bang next;
#X obj 183 340 outlet;
#X obj 108 233 pointer \$1;
#X obj 108 153 until;
#X obj 77 284 t p b;
#X msg 164 175 traverse pd-score;
#X obj 108 109 t b b;
#X obj 183 286 t b b;
#X msg 173 119 1000;
#X connect 0 0 3 0;
#X connect 2 0 5 0;
#X connect 3 0 9 0;
#X connect 3 1 11 0;
#X connect 5 0 7 0;
#X connect 5 2 10 0;
#X connect 6 0 2 0;
#X connect 7 0 1 0;
#X connect 7 1 6 1;
#X connect 8 0 5 0;
#X connect 9 0 6 0;
#X connect 9 1 8 0;
#X connect 10 0 4 0;
#X connect 10 1 6 1;
#X connect 11 0 6 0;


More information about the Pd-list mailing list