Re: Major Bug in Interpreter [Attn: Robert Craig]
- Posted by Georg Wrede <georg at iki.fi> Feb 15, 2005
- 479 views
> > > > Example: > > }}} <eucode> > > function recursive_call(integer i) > > integer ib, id > > stack &= 0 > > ib = length(stack) > > for x = 1 to 4 do > > if stack[ib][i] = 0 then > > id = recursive_call(i+1) > > stack[ib][i] = id > > end if > > end for > > return ib > > end function > > </eucode> {{{ > > > > Which to me, that's a waste of a variable space, that Euphoria is now forced > > to > > have to allocate, and deallocate everytime the function is ran through. Is it actually true that such a temporary, local, variable gets into the executable? One would think that it'd be optimised away? -- Another Euphoric, since Nov. 18, 2004 --