<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>obelisk2</author_name>
  <author_url>https://blog.hatena.ne.jp/obelisk2/</author_url>
  <blog_title>Camera Obscura</blog_title>
  <blog_url>https://obelisk.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>アルゴリズム</anon>
  </categories>
  <description>自分の実装で、マージソートとクイックソートのベンチマークをしてみました。 マージソートの実装はこれ、クイックソートのはこれ（いちばん下の実装）です。 マージソート。 クイックソート。 基本的にクイックソートの方が速いようである。 ベンチマーク。 bench_sorts.rb require 'benchmark' 100.times do ar = (0..10_0000).to_a.shuffle Benchmark.bm 12 do |x| x.report(&quot;merge sort&quot;) {ar.merge_sort} x.report(&quot;quick sort&quot;) {ar.qsort} en…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fobelisk.hatenablog.com%2Fentry%2F2017%2F07%2F27%2F030820&quot; title=&quot;マージソートとクイックソートの比較（Ruby） - Camera Obscura&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>http://img.f.hatena.ne.jp/images/fotolife/o/obelisk2/20170727/20170727025742.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-07-27 03:08:20</published>
  <title>マージソートとクイックソートの比較（Ruby）</title>
  <type>rich</type>
  <url>https://obelisk.hatenablog.com/entry/2017/07/27/030820</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
