On Apr 9, 2005, at 2:14 PM, itsme213 wrote: > "Peter Suk" <peter.kwangjun.suk / mac.com> wrote in message > >>> 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. > > Replacing every existing object of a class with a new static layout > has a > very different performance profile from updating the dynamic layout of > a > single object. Silently creating a singleton class might result in > subtle > changes in Ruby semantics. Going all-dynamic layout takes a big > performance > hit. > > Sounds like a performance trade-off area to me. If you want to influence the project, join it and contribute code. Otherwise, it's pointless to discuss this now. --Peter -- There's neither heaven nor hell, save what we grant ourselves. There's neither fairness nor justice, save what we grant each other.