From: Peter Suk Date: 2005-04-09T06:07:57+09:00 Subject: Re: Seven new VMs, all in a row On Apr 8, 2005, at 2:14 PM, itsme213 wrote: > "Lothar Scholz" wrote in message > >> I would like to add >> >> - singleton methods >> >> to this list as i think this does not exist in SmallTalk, and this is >> a feature that could knock out the whole method compilation algorithm. > > I doubt it will. Even in Ruby, singleton methods are implemented with > classes under the covers. You get the "no-prize"! Yes, this one is easy. > The fact that Ruby instance variables appear on demand, and so > references to > instance-vars cannot be directly mapped to integer offsets from a known > class definition, will likely mean some performance trade-off. Already covered this. --Peter -- There's neither heaven nor hell, save what we grant ourselves. There's neither fairness nor justice, save what we grant each other.