<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hayataka2049</author_name>
  <author_url>https://blog.hatena.ne.jp/hayataka2049/</author_url>
  <blog_title>静かなる名辞</blog_title>
  <blog_url>https://hayataka2049.hatenablog.jp/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>速度計測シリーズ</anon>
    <anon>Tips</anon>
  </categories>
  <description>はじめに 俗に言う「二次元配列」をpythonで表現しようとすると、listのlistで書くというのが一番最初に思いつくやり方だと思います。 速度のこととか考えるとどうやるのがいいのか？ ということは実はあまり知らなかったので、この際いろいろ試してみます。 調査対象 こんなのを考えます。 list of list(s) リストのリスト。王道ですな。 dict of dict(s) 実はdictでもindexを整数にすれば、インデックスでアクセスするぶんにはlistと同じような使い方ができます。メモリ効率は悪いですが。 flat list 一つのリストで表現して、一行あたりのデータ数をnとして、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhayataka2049.hatenablog.jp%2Fentry%2F2019%2F08%2F02%2F032006&quot; title=&quot;【python】標準データ型での二次元配列の表現あれこれのアクセス速度 - 静かなる名辞&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>2019-08-02 03:20:06</published>
  <title>【python】標準データ型での二次元配列の表現あれこれのアクセス速度</title>
  <type>rich</type>
  <url>https://hayataka2049.hatenablog.jp/entry/2019/08/02/032006</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
