<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tanakaBox</author_name>
  <author_url>https://blog.hatena.ne.jp/tanakaBox/</author_url>
  <blog_title>ボクノス</blog_title>
  <blog_url>https://boxnos.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>膨大なデータから素早く検索処理をしたい!!そうなると、データベースの力を借りるのがいい。しかし、サーバー型のデータベースを使うほどでも無い。そんな中途半端な問題を解決してくれるのが、ハッシュ型のデータベース。今回はgdbmを使った郵便番号の検索です。 まずは、実行結果から % ./jzipcode.rb 907-1800 沖縄県八重山郡与那国町 search time : 8.533465 % ./jzipcode.rb 907-1800 沖縄県八重山郡与那国町 search time : 0.002622DB作成時には9秒近くかかっていた処理が、DB作成後には、0.002秒で検索出来てしまう…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20070515%2F1179223434&quot; title=&quot; たのしいRuby 第23章 郵便番号検索 - ボクノス&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>2007-05-15 19:03:54</published>
  <title> たのしいRuby 第23章 郵便番号検索</title>
  <type>rich</type>
  <url>https://boxnos.hatenablog.com/entry/20070515/1179223434</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
