<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ponkotuy</author_name>
  <author_url>https://blog.hatena.ne.jp/ponkotuy/</author_url>
  <blog_title>ponkotuyの日記</blog_title>
  <blog_url>https://ponkotuy.hatenadiary.org/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>はじめに どちらかというと計算機寄りの人間なもので、プログラミング言語の処理速度というのは気になってしょうがない。特に処理時間のオーダーを考えずにプログラム書くなんて考えられない！特にPythonのlistは結構不可解な部分が多い。名前からしてC++のListコンテナっぽいのだが、メソッドを調べてみると、項目追加は後方に追加するappendと、どこでも追加できるinsertしかないinsertメソッドは、listコンテナならO(n)掛かることは明かなのだが、ひょっとしたら、0に追加するときだけ例外的にO(1)で処理できるのかもしれない、とか考えて、結局計測してみるのが早いという結論に達した。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fponkotuy.hatenadiary.org%2Fentry%2F20110402%2F1301756994&quot; title=&quot;Pythonのlistの処理速度 - ponkotuyの日記&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-04-02 00:09:54</published>
  <title>Pythonのlistの処理速度</title>
  <type>rich</type>
  <url>https://ponkotuy.hatenadiary.org/entry/20110402/1301756994</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
