<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gom68</author_name>
  <author_url>https://blog.hatena.ne.jp/gom68/</author_url>
  <blog_title>gom68の日記</blog_title>
  <blog_url>https://gom.hatenablog.com/</blog_url>
  <categories>
    <anon>C</anon>
    <anon>gauche</anon>
    <anon>scala</anon>
    <anon>ruby</anon>
  </categories>
  <description>基本に立ち戻って、マージソートをやってみた。 Ruby, C, Scala, Gaucheの4種類。 最初にRubyで書いて、他に移植という流れ。 ScalaとGaucheはほぼ同じ。普通に再帰で書いたけど、Scalaは末尾再帰に最適化されてるそうな。 Cだけは配列をガンガン作ろうとするとmallocが大変なことになるので、1つを使いまわす形に。 tempはmallocしないで静的に定義してもいいかも。 Cはまだまだ慣れない。 Ruby C Scala Gauche</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgom.hatenablog.com%2Fentry%2F20100509%2F1273418458&quot; title=&quot; マージソート - gom68の日記&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>2010-05-09 00:20:58</published>
  <title> マージソート</title>
  <type>rich</type>
  <url>https://gom.hatenablog.com/entry/20100509/1273418458</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
