[Gimp-developer] changes in script-fu in 2.3.14

Alexander Rabtchevich alexander.v.rabtchevich at iaph.bas-net.by
Tue Jan 30 06:06:00 PST 2007


Some more thoughts on local variables in scheme from a newbie POV.

Due to a parenthesis syntaxes of variable declaration area, if variable 
x is declared before variable y and y is declared before x is dropped, x 
remains active at least until y is dropped.

(let (x 1)
...
   (let (y 2)

   ;x is used here
   ...
   ;noway to drop x here

   )  ;let (y
)  ;(let (x

So there is no much benefit from such a manner of local variable 
definition in sense of memory consumption.

-- 
With respect
Alexander Rabtchevich


More information about the Gimp-developer mailing list