From: "Mark J. Reed" Date: 2004-02-01T01:04:52+09:00 Subject: Re: Bignums and return On Sat, Jan 31, 2004 at 10:26:46PM +0900, ts wrote: > >>>>> "M" == Mark J Reed writes: > > M> It seems like "def one; return 1 end" and "def one; 1 end;" should > M> result in identical bytecode. > > actually ruby don't use bytecode. previous.gsub('bytecode', 'trees') or whatever the internal compiled representation is, then. (But Rite will use a byte code, right?) Anyway, the point is that any extra code inserted by the "return" should be optimized out when the return doesn't do anything. -Mark