<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gfx</author_name>
  <author_url>https://blog.hatena.ne.jp/gfx/</author_url>
  <blog_title>Islands in the byte stream (legacy)</blog_title>
  <blog_url>https://gfx.hatenadiary.org/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>macro.pmはv0.03になってわりとうまく動くようになった（と思う）。ためしにHTML::FillInForm::Liteでいくつかの関数をマクロ化してベンチマークをとったところ，約20%ほど高速になった。それなりに効果はあるようだ。 ちなみに，マクロの書き方はサブルーチンの仕様のサブセット*1になっている，以下のようにサブルーチンをマクロ化することができる。 #!perl -w use feature 'say'; sub foo{ $_[0] =~ /(foo)/ ? $1 : $_[0]; } use macro foo =&gt; \&amp;foo; say foo(&quot;foo&quot;); # マク…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgfx.hatenadiary.org%2Fentry%2F20080906%2F1220685042&quot; title=&quot;macro.pm v0.03 - Islands in the byte stream (legacy)&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-09-06 16:10:42</published>
  <title>macro.pm v0.03</title>
  <type>rich</type>
  <url>https://gfx.hatenadiary.org/entry/20080906/1220685042</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
