今日の元ネタはこちらです. chezou.hatenablog.com 他言語との比較が行われているわけですが,Julia 版はアルゴリズムの作りが他とだいぶ変わってしまっているので, そのまま比較するのはどうかなと思うわけですが,でも,Julia が書けるわけでもないので,ざっくりどんな高速化が行われたのか golangで追っかけてみました(結局 golang ネタです). TinySegmenter はもともと javascript でコンパクトに書かれた分かち書き用のプログラムです. TinySegmenter: Javascriptだけで実装されたコンパクトな分かち書きソフトウェア なるべくオリジナルに忠実に golang で実装して,そこから Julia 版の高速化手法を盛り込んでいってパフォーマンスを見ていきます. で,こちらにご用意したのが golang 版です. shogo