From: "Mark J. Reed" Date: 2004-01-31T04:49:58+09:00 Subject: Re: Bignums and return On Fri, Jan 30, 2004 at 08:05:03PM +0900, ts wrote: > 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 Does Ruby not have even a basic peephole optimizer? It seems like "def one; return 1 end" and "def one; 1 end;" should result in identical bytecode. -Mark