<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mirichi</author_name>
  <author_url>https://blog.hatena.ne.jp/mirichi/</author_url>
  <blog_title>mirichiの日記</blog_title>
  <blog_url>https://mirichi.hatenadiary.org/</blog_url>
  <categories>
    <anon>DXRuby</anon>
  </categories>
  <description>重いのは描画ではなく、Rubyの処理だ。DXRubyの描画は十分速い。 というのがいつもの俺の主張なので、DXRubyFrameworkに加速度などを設定できるよう機能追加して、それを使って動かしてみた。 複数の色を使うには別々のテクスチャが必要で、描画順も問題になるからソートさせていて、色々と負荷は増えてしまっているが、とりあえず同じCPU負荷で3倍ほどの星が動くようにはなった。 ざっと計算するとこれぐらいがWindow.draw系での描画の限界速度だろう。 点が2*2pixelだから、dor.rbの実行速度から考えるとImageオブジェクトに点を描き込む手を使ってもこれより速くはならない。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmirichi.hatenadiary.org%2Fentry%2F20090726%2Fp1&quot; title=&quot;速度アップと色と - mirichiの日記&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>https://cdn-ak.f.st-hatena.com/images/fotolife/m/mirichi/20090726/20090726120243.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-07-26 00:00:02</published>
  <title>速度アップと色と</title>
  <type>rich</type>
  <url>https://mirichi.hatenadiary.org/entry/20090726/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
