<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>unageanu</author_name>
  <author_url>https://blog.hatena.ne.jp/unageanu/</author_url>
  <blog_title>うなの日記</blog_title>
  <blog_url>https://unageanu.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>レシーバに該当するメソッドが定義されておらずmethod_missingが実行された場合、通常のメソッド呼び出しと比べて遅くなったりするのか測ってみました。 結論 たいして変わりません。 計測コード プロファイラを使ってみました。 通常のメソッド呼び出し method_missingの呼び出し をそれぞれ10000回実行し所用時間を計測します。 require 'profiler' class Kitten def initialize( name ) @name = name; end # 普通のメソッド def name @name end # method_missing。処理内容は普通…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Funageanu.hatenablog.com%2Fentry%2F20071225%2F1198585892&quot; title=&quot; method_missingは重いのか? - うなの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-12-25 21:31:32</published>
  <title> method_missingは重いのか?</title>
  <type>rich</type>
  <url>https://unageanu.hatenablog.com/entry/20071225/1198585892</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
