<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cooldaemon</author_name>
  <author_url>https://blog.hatena.ne.jp/cooldaemon/</author_url>
  <blog_title>cooldaemonの備忘録</blog_title>
  <blog_url>https://cooldaemon.hatenadiary.org/</blog_url>
  <categories>
    <anon>erlang</anon>
  </categories>
  <description>yaws で遊んでいたのですが、GET で a=b&amp;a=c みたいな引数を渡すと yaws_api:parse_query(Arg) を実行した際の戻り値が [{&quot;a&quot;,&quot;b&quot;}, {&quot;a&quot;,&quot;c&quot;}] となるので、リスト内のタプルのキーが重複する場合は、どうやったら素早くタプルを取り出せるのかなぁと思い、2 パターンだけベンチマークを取ってみた。下記のようなテスト用のモジュールを作り・・・ -module(test). -author('cooldaemon@gmail.com'). -export([keysearch/0, filter/0]). make_list() -&gt; lists…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcooldaemon.hatenadiary.org%2Fentry%2F20080130%2F1201674445&quot; title=&quot;リスト内のタプルのキーが重複する場合の lists:filter/2 と list:keysearch/3 の速度比較 - cooldaemonの備忘録&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>2008-01-30 15:27:25</published>
  <title>リスト内のタプルのキーが重複する場合の lists:filter/2 と list:keysearch/3 の速度比較</title>
  <type>rich</type>
  <url>https://cooldaemon.hatenadiary.org/entry/20080130/1201674445</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
