<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Infoment</author_name>
  <author_url>https://blog.hatena.ne.jp/Infoment/</author_url>
  <blog_title>Infomentのブログ ～Excel VBA奮闘記～</blog_title>
  <blog_url>https://infoment.hatenablog.com/</blog_url>
  <categories>
    <anon>Excel</anon>
    <anon>VBA</anon>
    <anon>試してみた</anon>
  </categories>
  <description>先日から、配列やコレクションの作成に掛かる時間を色々と測定している。 infoment.hatenablog.com これらを通じて、ふと思いついた。総数が分からないものを配列に格納する際、Redimによる都度拡張は、思ったより時間が掛かっているのではないか。そこで、簡易的な実験を行ってみた。 総数が分かっている場合 まず測定基準として、こちらを用意した。 Sub test_1() Dim i As Long Dim seq(1 To 1000000) As Variant For i = 1 To 1000000 seq(i) = i Next End Sub １～100万の要素数を持つ配列…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2018%2F12%2F16%2F191630&quot; title=&quot;配列の都度拡張は時間が掛かるのか（実験） - Infomentのブログ ～Excel VBA奮闘記～&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/I/Infoment/20181216/20181216185306.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-12-16 19:16:30</published>
  <title>配列の都度拡張は時間が掛かるのか（実験）</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2018/12/16/191630</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
