<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moistx</author_name>
  <author_url>https://blog.hatena.ne.jp/moistx/</author_url>
  <blog_title>Logfiles</blog_title>
  <blog_url>https://logfiles.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>この記事は Aizu Advent Calendar 2016 2日目の記事です。 前の人は、@___deraさん、次の人は @hnjk さんです。 C++でよく使われる動的配列に、std::vectorがあります。std::vectorはで配列の要素へのアクセス、push_backなどの操作が可能なデータ構造です。しかし、配列は要素がメモリ上で連続しているので、insertやeraseの処理はどうしても線形時間掛かってしまいます。 LinkedListであれば、リストの挿入先のポインタが分かればで挿入することが出来ます。しかし今度は反対に各要素へのアクセスが線形時間かかってしまいます。結局、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F2016%2F12%2F02%2F103200&quot; title=&quot;C++でinsertやeraseが高速な配列を作る - Logfiles&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>http://chart.apis.google.com/chart?cht=tx&amp;chl=O%281%29</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-12-02 10:32:00</published>
  <title>C++でinsertやeraseが高速な配列を作る</title>
  <type>rich</type>
  <url>https://logfiles.hatenablog.com/entry/2016/12/02/103200</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
