<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>syngan</author_name>
  <author_url>https://blog.hatena.ne.jp/syngan/</author_url>
  <blog_title>vim 初心者の作業メモ</blog_title>
  <blog_url>https://syngan.hatenadiary.org/</blog_url>
  <categories>
    <anon>vim</anon>
  </categories>
  <description>vim のリストは線形リストである. なので, 要素へのアクセスは O(len(list)) である. ということは, 辞書をリストっぽくつかったほうがランダムアクセスははやい? 私の環境では, リスト長が 100 くらいまではリストがはやいけど, それ以上なら辞書を使うべきらしい リストと辞書へのランダムアクセス · GitHub vim-vimlint で node-&gt;tag が 1 から 90 まで if 文で比較する処理があったので Funcref のリストを使ったらはやくなった improve s:VimlLint.compile() by using a list of Funcr…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsyngan.hatenadiary.org%2Fentry%2F20140903%2F1409683609&quot; title=&quot;リストに対するランダムアクセス - vim 初心者の作業メモ&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>2014-09-03 03:46:49</published>
  <title>リストに対するランダムアクセス</title>
  <type>rich</type>
  <url>https://syngan.hatenadiary.org/entry/20140903/1409683609</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
