<?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>Scheme</anon>
  </categories>
  <description>グラフ理論で使うデータ構造にリストを使うと検索コストが高いので、ハッシュを使いたい。SRFI 69: Basic hash tablesを眺めてみたら、ハッシュの実装例が載ってたので、簡単に写経してみた。 SRFI-69の実装例では、ベクタ + alistの二次元構造。alistをハッシュテーブルに分割することによって検索速度の向上を図ると。ハッシュはハッシュでもO(1)では無くO(n/テーブルサイズ)くらい。テーブルサイズを大きくすればまぁまぁ早い感じ。 (define *default-bound* (- (expt 2 29) 3)) (define *table-size* 10) (…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20080506%2F1210018915&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>2008-05-06 05:21:55</published>
  <title> ハッシュ作ってみた</title>
  <type>rich</type>
  <url>https://boxnos.hatenablog.com/entry/20080506/1210018915</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
