From: Robert Feldt Date: 2000-11-03T00:08:23+09:00 Subject: [ruby-talk:5994] Re: Mem overhead of singleton (ProgRuby chapt 19 q) On Thu, 2 Nov 2000, ts wrote: > pigeon% b.rb > Method Object::method > SCOPE > BLOCK > ARGS (*args) > BLOCK_ARG (&block) > NEWLINE <./b.rb:3> > VCALL old_method > > pigeon% > > You just need to look at each node and make the sum of all bytes used :-) > Ok, I'll have to check the node sizes in the sources then. Thanks. > p.s.: there is a big reason for attribute accessor because ruby, in this > case, use *only* one (1) node > I'm not sure I understand how what you mean here. Can I convert the singleton method to attribute accessor or do you consider the current method an attribute accessor? Can you please clarify/reformulate? Thanks, Robert