<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nazodane</author_name>
  <author_url>https://blog.hatena.ne.jp/nazodane/</author_url>
  <blog_title>謎's キッチン</blog_title>
  <blog_url>https://nazodane.hatenadiary.org/</blog_url>
  <categories>
    <anon>D言語</anon>
    <anon>連載</anon>
  </categories>
  <description>次に、実装していきます。まずは、引数の制限を追加します。 string multiReplace(repstrs...)(string s){ /*static */assert(~repstrs.length &amp; 1, &quot;invalid repstrs.length&quot;); mixin(genMultiReplaceCode(s.stringof, [repstrs])); } バグでstatic assertにするとクラッシュする件。実行時チェックしかできてないけど、まぁいいや。 まずは、最適化を無視して実装していきます。 /* * multiReplace関数のコードを生成します。 */ …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnazodane.hatenadiary.org%2Fentry%2F20080301%2F1204363929&quot; title=&quot; 多段replaceの文字列mixinを使った高速化(3) - 謎&amp;#39;s キッチン&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-03-01 18:32:09</published>
  <title> 多段replaceの文字列mixinを使った高速化(3)</title>
  <type>rich</type>
  <url>https://nazodane.hatenadiary.org/entry/20080301/1204363929</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
