From: Ryan Davis Date: 2009-05-21T10:03:24+09:00 Subject: Re: event_hook 1.0.0 Released On May 20, 2009, at 05:37 , Roger Pack wrote: > >> Wraps rb_add_event_hook so you can write fast ruby event hook >> processors w/o the speed penalty that comes with set_trace_func (sooo >> sloooow!). Calls back into ruby so you don't have to write C. > > Wow thanks for doing this--anybody know why rb_add_event_hook is so > much > faster then? > > A drop in replacement for set_trace_func might be sweet, too :) most of the cost is block activation.