From: Avi Bryant Date: 2001-03-06T13:00:12+09:00 Subject: [ruby-talk:12080] Re: Ruby & AOP On Tue, 6 Mar 2001, Yukihiro Matsumoto wrote: > |So here is my main thougth: What about adding another callback named > |"called"? Object.called seems like the right place..(??) > > |I'm afraid though that I haven't got a clue regarding the implementation or > |issues involved. Does anyone have knowledge to see if it could be possible > |somehow? Would it be worth the effort? > > I like the idea, it's easy to implement, but performance would be an obstacle. Matz, what about allowing it to be enabled on a method-by-method basis? i.e., trap_calls :method That way the performance hit would only be for those methods it was needed for. To have this functionality supported at the interpreter level would be *great*. Avi