<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xtalco</author_name>
  <author_url>https://blog.hatena.ne.jp/xtalco/</author_url>
  <blog_title>新言語 Xtalを作る日記</blog_title>
  <blog_url>https://xtalco.hatenadiary.org/</blog_url>
  <categories>
    <anon>内部実装について</anon>
  </categories>
  <description>これまで、Xtalの仮想マシンはバイトコードで動いていました。 マシンがもっとも早く読み書きできるサイズの整数を使うワードコードとどっちにしようか迷ったのですが、メモリの節約とエンディアンの違いを考慮しなくてもいいという理由から、バイトコードで作りました。しかし、やっぱ速度の方が大切だ！と思い、マクロでバイトコードマシンワードコードマシンを切り替えられるように修正しました。めっちゃ大変でした。 無事、どちらでもちゃんと動くようになり、速度を計測したところ、なんと！6.8秒で動いてたスクリプトが、6.6秒で動くように！その差3%！ワードコードマシンだめだ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxtalco.hatenadiary.org%2Fentry%2F20070704%2F1183550249&quot; title=&quot;実行効率の最適化を試みた - 新言語 Xtalを作る日記&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>2007-07-04 20:57:29</published>
  <title>実行効率の最適化を試みた</title>
  <type>rich</type>
  <url>https://xtalco.hatenadiary.org/entry/20070704/1183550249</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
