<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>unageanu</author_name>
  <author_url>https://blog.hatena.ne.jp/unageanu/</author_url>
  <blog_title>うなの日記</blog_title>
  <blog_url>https://unageanu.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>Rubyで使えるハッシュ関数の性能を測ってみた。 Rubyのメッセージダイジェストライブラリで使えるハッシュ関数+String#hashの処理時間を計測 各処理を10000回実行して合計処理時間を出す。 結果は以下。 ハッシュ関数 所要時間(秒) sha1 0.913 sha256 1.572 sha384 3.039 sha512 3.024 md5 0.86 rmd160 1.1 hash 0.797 (何も実行しない:比較用) 0.692 sha2系はやはり重い。 sha1,md5,hashはほぼ同じで高速。 計測環境は以下。 CPU : Intel Core 2 Duo 2.19GHz…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Funageanu.hatenablog.com%2Fentry%2F20080511%2F1210496413&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-11 18:00:13</published>
  <title> ハッシュ関数の性能を測ってみた</title>
  <type>rich</type>
  <url>https://unageanu.hatenablog.com/entry/20080511/1210496413</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
