From: ts Date: 2002-04-05T17:39:12+09:00 Subject: Re: About efficiency >>>>> "J" == Jean-Hugues ROBERT writes: J> At runtime: J> 1) When about to call a method, first check if it is an accessor J> 2) If so, don't call it, directly access the instance variable J> 3) Else, use previous "slow" access method J> At compile time J> 1) Detect if method is an accessor (setter or getter). J> 2) Age the global cache (making it totally invalid, i.e. clearing it). It's best if you look at the source of ruby Guy Decoux