<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>eiji8pou</author_name>
  <author_url>https://blog.hatena.ne.jp/eiji8pou/</author_url>
  <blog_title>eiji8pou's diary</blog_title>
  <blog_url>https://eiji8pou.hatenadiary.com/</blog_url>
  <categories>
    <anon>NScripter</anon>
    <anon>Lua</anon>
  </categories>
  <description>久々のベンチマークネタ。 同じ結果の出る*1関数をdefsubとluasubの二つを用意して、それぞれを実行してその速度を比較した。 詳細 defsub側は、sqrt, sqrt2, sqrt3の三つを用意した。スクリプトは、平方根の計算 - 永字八法を使用した。 luasub側は、同じ結果になるsqrt_lua, sqrt_lua2, sqrt_lua3の三つを用意した。 それぞれの関数について、1〜10,000までを順番に計算し、どれくらいの時間がかかるかを計測した。 結果 sqrt,43514 sqrt2,62338 sqrt3,77410 sqrt_lua,1953 sqrt_lua2…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feiji8pou.hatenadiary.com%2Fentry%2F20110221%2F1298218667&quot; title=&quot;defsubとluasubのベンチマーク比較 - eiji8pou&amp;#39;s diary&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>2011-02-21 01:17:47</published>
  <title>defsubとluasubのベンチマーク比較</title>
  <type>rich</type>
  <url>https://eiji8pou.hatenadiary.com/entry/20110221/1298218667</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
