From: ts Date: 2004-04-25T00:32:34+09:00 Subject: Re: Psyco >>>>> "K" == Kristof Bastiaensen writes: K> A good way to speed up Ruby's method calling would be to K> cache Class-information. It should cache only one value, K> because mostly methods are called on the same class, K> except the generic ones (like each, etc..). If it finds K> the same class, it could directly call the associated method, K> (with a dirty bit, if the method was changed recently). Otherwise K> it would look up the method. What do you think that ruby do actually ? svg% fgrep cache? eval.c /* is it in the method cache? */ /* is it in the method cache? */ svg% :-) Guy Decoux