<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chiharunpo</author_name>
  <author_url>https://blog.hatena.ne.jp/chiharunpo/</author_url>
  <blog_title>Chiharu の日記</blog_title>
  <blog_url>https://chiharunpo.hatenablog.com/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>その結果、Javaで1バイトの文字列を結合処理してからディスクに書き込んだ場合、ディスクへの直接書き込みと比べて約9,000倍の時間がかかったという。 http://developers.slashdot.jp/story/15/03/28/0747218/ 元記事の Java コードを読みました。C 言語的には下記のようなことでしょうね。Cygwin で計測したらディスク版の方が断然速いですが、さすがにコードが意地悪すぎるかな。何事もケースバイケースだと思います。 #include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #define MAX 1000000 /* メモ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchiharunpo.hatenablog.com%2Fentry%2F20150328%2F1427542264&quot; title=&quot;メモリーよりもディスクが速いわけがない - Chiharu の日記&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>2015-03-28 20:31:04</published>
  <title>メモリーよりもディスクが速いわけがない</title>
  <type>rich</type>
  <url>https://chiharunpo.hatenablog.com/entry/20150328/1427542264</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
