<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ledsun</author_name>
  <author_url>https://blog.hatena.ne.jp/ledsun/</author_url>
  <blog_title>@ledsun blog</blog_title>
  <blog_url>https://ledsun.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>技</anon>
  </categories>
  <description>sumim.hatenablog.com の追試です。 複数のRuby実装で速さの違いを比べてみます。 スクリプト require 'benchmark' def tak(x, y, z) if x &gt; y then tak(tak(x-1, y, z), tak(y-1, z, x), tak(z-1, x, y)) else y end end Benchmark.bm do |x| x.report do tak(14, 7, 0) end end Ruby 3.1.2preview2 ledsun@MSI:~/tarai►ruby -v tarai.rb ruby 3.1.2p20 (…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fledsun.hatenablog.com%2Fentry%2F2022%2F09%2F09%2F135210&quot; title=&quot;Ruby複数の実装でたらい回しベンチマーク - @ledsun blog&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>2022-09-09 13:52:10</published>
  <title>Ruby複数の実装でたらい回しベンチマーク</title>
  <type>rich</type>
  <url>https://ledsun.hatenablog.com/entry/2022/09/09/135210</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
