<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Ruby dynamic method calling</title>
	<atom:link href="http://khelll.com/blog/ruby/ruby-dynamic-method-calling/feed/" rel="self" type="application/rss+xml" />
	<link>http://khelll.com/blog/ruby/ruby-dynamic-method-calling/</link>
	<description>Cool Web Development...</description>
	<lastBuildDate>Mon, 21 May 2012 00:25:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Madhan</title>
		<link>http://khelll.com/blog/ruby/ruby-dynamic-method-calling/comment-page-1/#comment-78557</link>
		<dc:creator>Madhan</dc:creator>
		<pubDate>Wed, 28 Mar 2012 10:46:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=19#comment-78557</guid>
		<description>Really nice tutorial, really people should follow this blog one who willing to become as advanced ruby programmer. Please keep it post regularly.</description>
		<content:encoded><![CDATA[<p>Really nice tutorial, really people should follow this blog one who willing to become as advanced ruby programmer. Please keep it post regularly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rubyu2</title>
		<link>http://khelll.com/blog/ruby/ruby-dynamic-method-calling/comment-page-1/#comment-35335</link>
		<dc:creator>rubyu2</dc:creator>
		<pubDate>Tue, 13 Sep 2011 06:41:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=19#comment-35335</guid>
		<description>Nice.</description>
		<content:encoded><![CDATA[<p>Nice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony Navarre</title>
		<link>http://khelll.com/blog/ruby/ruby-dynamic-method-calling/comment-page-1/#comment-32259</link>
		<dc:creator>Anthony Navarre</dc:creator>
		<pubDate>Wed, 17 Aug 2011 18:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=19#comment-32259</guid>
		<description>Well done - I love seeing benchmarks around different approaches in pure Ruby.

Beyond speed, though, it&#039;s important to keep in mind that eval, when dealing with tainted strings, is also a potential risk for code injection attacks.</description>
		<content:encoded><![CDATA[<p>Well done &#8211; I love seeing benchmarks around different approaches in pure Ruby.</p>
<p>Beyond speed, though, it&#8217;s important to keep in mind that eval, when dealing with tainted strings, is also a potential risk for code injection attacks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tee Parham</title>
		<link>http://khelll.com/blog/ruby/ruby-dynamic-method-calling/comment-page-1/#comment-32136</link>
		<dc:creator>Tee Parham</dc:creator>
		<pubDate>Tue, 16 Aug 2011 17:42:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=19#comment-32136</guid>
		<description>Nice article.

send is actually twice as fast as call if you (must) create the method object before each call, which is a more realistic scenario:

&lt;code&gt;
require &quot;benchmark&quot; 
test = &quot;hi man&quot;  
n = 100000 
Benchmark.bmbm {&#124;x&#124; 
  x.report(&quot;call&quot;) { n.times { m = test.method(:length); m.call } } 
  x.report(&quot;send&quot;) { n.times { test.send(:length) } } 
  x.report(&quot;eval&quot;) { n.times { eval &quot;test.length&quot; } } 
}

# results:
#           user     system      total        real
# call   0.110000   0.000000   0.110000 (  0.115235)
# send   0.050000   0.000000   0.050000 (  0.046434)
# eval   1.750000   0.020000   1.770000 (  1.779832)
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Nice article.</p>
<p>send is actually twice as fast as call if you (must) create the method object before each call, which is a more realistic scenario:</p>
<p><code><br />
require "benchmark"<br />
test = "hi man"<br />
n = 100000<br />
Benchmark.bmbm {|x|<br />
  x.report("call") { n.times { m = test.method(:length); m.call } }<br />
  x.report("send") { n.times { test.send(:length) } }<br />
  x.report("eval") { n.times { eval "test.length" } }<br />
}</p>
<p># results:<br />
#           user     system      total        real<br />
# call   0.110000   0.000000   0.110000 (  0.115235)<br />
# send   0.050000   0.000000   0.050000 (  0.046434)<br />
# eval   1.750000   0.020000   1.770000 (  1.779832)<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Nissim</title>
		<link>http://khelll.com/blog/ruby/ruby-dynamic-method-calling/comment-page-1/#comment-9660</link>
		<dc:creator>Michael Nissim</dc:creator>
		<pubDate>Tue, 13 Jul 2010 05:39:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=19#comment-9660</guid>
		<description>Thanks Khaled, I found this useful.</description>
		<content:encoded><![CDATA[<p>Thanks Khaled, I found this useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Using &#8220;Send&#8221; for Methods in Ruby :: dot unplanned</title>
		<link>http://khelll.com/blog/ruby/ruby-dynamic-method-calling/comment-page-1/#comment-9430</link>
		<dc:creator>Using &#8220;Send&#8221; for Methods in Ruby :: dot unplanned</dc:creator>
		<pubDate>Tue, 22 Jun 2010 06:40:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=19#comment-9430</guid>
		<description>[...] around and half-remembering and pawing through Spotlight results that led nowhere, I came across an entry on Khaled alHabache&#8217;s blog that reminded me of what I was [...]</description>
		<content:encoded><![CDATA[<p>[...] around and half-remembering and pawing through Spotlight results that led nowhere, I came across an entry on Khaled alHabache&#8217;s blog that reminded me of what I was [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets that mention Ruby dynamic method calling - Khaled alHabache’s official blog -- Topsy.com</title>
		<link>http://khelll.com/blog/ruby/ruby-dynamic-method-calling/comment-page-1/#comment-8395</link>
		<dc:creator>Tweets that mention Ruby dynamic method calling - Khaled alHabache’s official blog -- Topsy.com</dc:creator>
		<pubDate>Thu, 22 Apr 2010 03:52:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=19#comment-8395</guid>
		<description>[...] This post was mentioned on Twitter by adelevie. adelevie said: http://www.khelll.com/blog/ruby/ruby-dynamic-method-calling/ [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by adelevie. adelevie said: <a href="http://www.khelll.com/blog/ruby/ruby-dynamic-method-calling/" rel="nofollow">http://www.khelll.com/blog/ruby/ruby-dynamic-method-calling/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: value method</title>
		<link>http://khelll.com/blog/ruby/ruby-dynamic-method-calling/comment-page-1/#comment-8072</link>
		<dc:creator>value method</dc:creator>
		<pubDate>Sat, 03 Apr 2010 04:38:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=19#comment-8072</guid>
		<description>[...] policy paper ... and controversial method of measuring teacher effectiveness called value-added. ...Ruby dynamic method calling - Khaled alHabache&#039;s official blogRuby dynamic method calling. I&#039;m pretty sure that you have heard lots about ruby, ... that passing a [...]</description>
		<content:encoded><![CDATA[<p>[...] policy paper &#8230; and controversial method of measuring teacher effectiveness called value-added. &#8230;Ruby dynamic method calling &#8211; Khaled alHabache&#39;s official blogRuby dynamic method calling. I&#39;m pretty sure that you have heard lots about ruby, &#8230; that passing a [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafa1970</title>
		<link>http://khelll.com/blog/ruby/ruby-dynamic-method-calling/comment-page-1/#comment-7205</link>
		<dc:creator>Rafa1970</dc:creator>
		<pubDate>Thu, 18 Feb 2010 09:10:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=19#comment-7205</guid>
		<description>Very useful post.</description>
		<content:encoded><![CDATA[<p>Very useful post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vin</title>
		<link>http://khelll.com/blog/ruby/ruby-dynamic-method-calling/comment-page-1/#comment-1681</link>
		<dc:creator>vin</dc:creator>
		<pubDate>Thu, 23 Apr 2009 10:29:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=19#comment-1681</guid>
		<description>just came across this website from google

this helps me a lot

many thanks :D</description>
		<content:encoded><![CDATA[<p>just came across this website from google</p>
<p>this helps me a lot</p>
<p>many thanks <img src='http://khelll.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

