<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mas-higa</author_name>
  <author_url>https://blog.hatena.ne.jp/mas-higa/</author_url>
  <blog_title>ひがきの日記</blog_title>
  <blog_url>https://mas-higa.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>某 国内有名 SNS に「自前でコンパイルした Ruby インタプリタは遅い」というトピックがあったので、実際に試してみた。ベンチマークに使ったのは、みんなが大好きなフィボナッチ数列。 def fib(n) i = n.to_i case when i &lt;= 0; 0 when i == 1; 1 else fib(i-1) + fib(i-2) end end fib(-1) # =&gt; 0 fib(0) # =&gt; 0 fib(1) # =&gt; 1 fib(2) # =&gt; 1 fib(3) # =&gt; 2 fib(4) # =&gt; 3 fib(5.5) # =&gt; 5 fib(&quot;6&quot;) # =&gt; 8 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmas-higa.hatenadiary.org%2Fentry%2F20081025%2F1224937798&quot; title=&quot;Mac OS X でコンパイルした Ruby インタプリタは遅いのか? - ひがきの日記&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>2008-10-25 21:29:58</published>
  <title>Mac OS X でコンパイルした Ruby インタプリタは遅いのか?</title>
  <type>rich</type>
  <url>https://mas-higa.hatenadiary.org/entry/20081025/1224937798</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
