From: ts Date: 2004-01-30T20:05:03+09:00 Subject: Re: Bignums and return >>>>> "A" == Andre Nathan writes: A> That gives me the same results the explicit return version gave me. Well, here the explanation svg% ruby -rii -e 'dump; def a() return a; end; def b() b; end' eval_tree BLOCK NEWLINE <-e:1> VCALL dump NEWLINE <-e:1> DEFN a SCOPE BLOCK ARGS NEWLINE <-e:1> RETURN VCALL a NEWLINE <-e:1> DEFN b SCOPE BLOCK ARGS NEWLINE <-e:1> VCALL b svg% because there is an explicit return, ruby has added a NODE RETURN (which call rb_eval()). When ruby call the method #a it will use more stack (there is one more call) than when it call the method #b Guy Decoux