<?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>それぞれの用途が異なるので、速度比較に意味があるのか疑問だけれど・・・単純なキー・値のペアを保持する場合の速度比較を行なってみた。 何度か試した結果、保存・取得共に process dictionary、ets、dict、gb_trees の順に早い。 gb_trees 比べて dict の速度が優秀で意外だった。検証コードは下記の通り。 -module(benchmark). -author('cooldaemon@gmail.com'). -export([run/1]). run(Count) -&gt; Keys = lists:seq(1, Count), lists:foreach( f…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcooldaemon.hatenadiary.org%2Fentry%2F20080722%2F1216706154&quot; title=&quot;Process Dictionary、dict、ets、gb_trees の速度比較 - 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-07-22 14:55:54</published>
  <title>Process Dictionary、dict、ets、gb_trees の速度比較</title>
  <type>rich</type>
  <url>https://cooldaemon.hatenadiary.org/entry/20080722/1216706154</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
