<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sonota88</author_name>
  <author_url>https://blog.hatena.ne.jp/sonota88/</author_url>
  <blog_title>memo486</blog_title>
  <blog_url>https://memo88.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>FM-indexと同様に、ほぼ最適化をしていない素朴な実装を作ってみました。元の論文の実装は空間効率まで考慮して書かれていてすごい！ ……のですが、まずはそれ以外の部分の仕組みを理解したかったので、以下のコードではそこらへんも無視しています。 コード require &quot;minitest/autorun&quot; SENTINEL = &quot;$&quot; TYPE_L = &quot;L&quot; TYPE_S = &quot;S&quot; NAME_CHARS = [ &quot;a&quot;,&quot;b&quot;,&quot;c&quot;,&quot;d&quot;,&quot;e&quot;,&quot;f&quot;,&quot;g&quot;,&quot;h&quot;,&quot;i&quot;,&quot;j&quot;, &quot;k&quot;,&quot;l&quot;,&quot;m&quot;,&quot;n&quot;,&quot;o&quot;,&quot;p&quot;,&quot;q&quot;,&quot;r&quot;,&quot;s&quot;,&quot;t&quot;, &quot;u&quot;,&quot;v&quot;,&quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemo88.hatenablog.com%2Fentry%2F20160317%2F1458224137&quot; title=&quot;Rubyで素朴なSA-IS（suffix array induced sorting）を書いてみた - memo486&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>2016-03-17 23:15:37</published>
  <title>Rubyで素朴なSA-IS（suffix array induced sorting）を書いてみた</title>
  <type>rich</type>
  <url>https://memo88.hatenablog.com/entry/20160317/1458224137</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
