<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>t-hom</author_name>
  <author_url>https://blog.hatena.ne.jp/t-hom/</author_url>
  <blog_title>t-hom’s diary</blog_title>
  <blog_url>https://thom.hateblo.jp/</blog_url>
  <categories>
    <anon>VBA</anon>
    <anon>VBAの研究・考察</anon>
  </categories>
  <description>ついさっき知った事であるが、VBAにおいては、Integer型を使うパフォーマンス上のメリットは皆無のようだ以下、MSDN 整数型、長整数型、およびバイト型 最近の VBA のバージョンでは、データ型が整数型と指定されている場合であっても、すべての整数値が長整数型に変換されます。 つまり、Dim x As Integerとしても、内部的にxはLongとして扱われるということ。 にもかかわらず、格納できる値の範囲は-32,768 ～ 32,767である。 むしろIntegerからLongへの変換で若干パフォーマンス上のロスが生じている。一方、VB.NetではIntegerが整数を扱う標準的な型の…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthom.hateblo.jp%2Fentry%2F2015%2F07%2F20%2F094857&quot; title=&quot;VBA IntegerはLongよりパフォーマンスが悪い - t-hom’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>2015-07-20 09:48:57</published>
  <title>VBA IntegerはLongよりパフォーマンスが悪い</title>
  <type>rich</type>
  <url>https://thom.hateblo.jp/entry/2015/07/20/094857</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
