<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>halo_w2</author_name>
  <author_url>https://blog.hatena.ne.jp/halo_w2/</author_url>
  <blog_title>きのこる先生 -チラシの裏</blog_title>
  <blog_url>https://halo-w2.hatenadiary.org/</blog_url>
  <categories>
    <anon>Programming</anon>
    <anon>C/C++</anon>
  </categories>
  <description>std::stringをキーにしたstd::mapとかをよく使うのだけど、比較・照合のコストが高い文字列の場合、二分木のコンテナだと無駄が多くてよろしくなさそう。 というわけで計算量をほぼO(1)に抑えることが出来るhash_mapやhash_setを使ってみようと思う。標準C++規格に無いものなのでポータビリティが心配だけれど、VCのSTLやSTLPortでもサポートされてるので問題ない・・・たぶん。http://www.s34.co.jp/cpptechdoc/article/hash/index.html ただ、↑を見るとVCに採用されているDinkum STLのハッシュコンテナは、標準…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhalo-w2.hatenadiary.org%2Fentry%2F20050426%2Fp2&quot; title=&quot; ハッシュコンテナ - きのこる先生 -チラシの裏&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>2005-04-26 00:00:01</published>
  <title> ハッシュコンテナ</title>
  <type>rich</type>
  <url>https://halo-w2.hatenadiary.org/entry/20050426/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
