From: Eric Mahurin Date: 2005-08-31T00:31:13+09:00 Subject: Re: Method behaves differently when called using #send --- Trans wrote: > Twice as slow: > > CURRENT > user system total real > normal : 0.040000 0.010000 0.050000 ( > 0.102307) > send_symbol : 0.050000 0.010000 0.060000 ( > 0.110930) > send_string : 0.080000 0.010000 0.090000 ( > 0.134324) > bind : 0.090000 0.020000 0.110000 ( > 0.168328) > instance_eval : 0.120000 0.020000 0.140000 ( > 0.186177) > inst_eval_send* : 0.120000 0.020000 0.140000 ( > 0.207331) > by_eval : 0.270000 0.020000 0.290000 ( > 0.342002) That's one of my reasons for using send over instance_eval. Using instance_eval will put at least one more call level on the stack (for the block). __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com