Joel VanderWerf wrote: > IIRC, you'll get better performance if you arrange the tracer so you can > use it like: > > def action > trace { puts ... } > do_this > trace { puts ... } > do_that > end > > You avoid at least the ivar lookup. Ok, I understand the part about avoiding an ivar lookup, but why the block syntax? Why not: def action trace "message" do_this trace "message ..." do_that end I think I'm missing something about your suggestion.