<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>studiokingyo</author_name>
  <author_url>https://blog.hatena.ne.jp/studiokingyo/</author_url>
  <blog_title>プログラミングの作業に何の価値も見出せなくなってしまったd金魚による日記</blog_title>
  <blog_url>https://studiokingyo.hatenadiary.org/</blog_url>
  <categories>
    <anon>Program</anon>
    <anon>ProgramIdiom</anon>
  </categories>
  <description>誰もが思いつくと感じているが、一応実装を記す。メモリを多くするとideoneでＳＥＧＶったけど気にしない。メモリが壊れているかもしれないけれど眠いので今は調べない。私製のテストフレームワークを用いている部分はコメントアウトした。気にしないで欲しい。 http://ideone.com/z95Ye 要するに構造体を丸ごとコピーしてソートするのではなくポインタ経由で比較データにアクセスしてポインタ値のみをソートするという方法である。アルゴリズムの教科書の小ネタやソートの高速化の課題として書かれていそうな題材である。 このソースコードの場合、ideoneではポインタ経由ソートのほうが約１０倍高速であ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fstudiokingyo.hatenadiary.org%2Fentry%2F20100901%2Fp1&quot; title=&quot;サイズの大きい構造体を高速にソートするテクニック - プログラミングの作業に何の価値も見出せなくなってしまったd金魚による日記&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-09-01 00:00:01</published>
  <title>サイズの大きい構造体を高速にソートするテクニック</title>
  <type>rich</type>
  <url>https://studiokingyo.hatenadiary.org/entry/20100901/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
