<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moritanian</author_name>
  <author_url>https://blog.hatena.ne.jp/moritanian/</author_url>
  <blog_title>スプーキーズのちょっとTech。</blog_title>
  <blog_url>https://labs.spookies.co.jp/</blog_url>
  <categories>
    <anon>フロントエンド</anon>
    <anon>フロントエンド-JavaScript</anon>
    <anon>プログラミング</anon>
    <anon>プログラミング-高速化</anon>
  </categories>
  <description>こんにちは、モリタです。 JSを高速化 する nativeに比べて遅いと言われるjsですがパフォーマンスチューニングによりずいぶん改善しているようです。しかしながらWebGLなどまだまだ高速化が必要な分野も数多くあります。そこで、今回はjavascriptを高速化する手法を簡単に見ていきたいと思います。 Typed Array 動的な配列であるjsの通常の配列に対し、固定長の配列であるTypedArrayが用意されています。低機能ですが、各要素に高速でアクセスする事ができます。以下のようにまずサイズを決めてバッファを確保してからTypedArrayを生成します。 canvasの getImag…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flabs.spookies.co.jp%2Fentry%2F2017%2F09%2F26%2F161745&quot; title=&quot;JavaScriptを高速化する5つの手法 - スプーキーズのちょっとTech。&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/moritanian/20170926/20170926114309.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-09-26 16:17:45</published>
  <title>JavaScriptを高速化する5つの手法</title>
  <type>rich</type>
  <url>https://labs.spookies.co.jp/entry/2017/09/26/161745</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
