<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ruby-U</author_name>
  <author_url>https://blog.hatena.ne.jp/ruby-U/</author_url>
  <blog_title>rubyu's blog</blog_title>
  <blog_url>https://rubyu.hatenablog.com/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>cgi</anon>
  </categories>
  <description>モジュロ演算は便利だが from timeit import Timer ins = 'ins' def through(): return ins def modulo1(): return &quot;&quot;&quot;%s&quot;&quot;&quot; % ins def modulo2(): return &quot;&quot;&quot;%s0123456789&quot;&quot;&quot; % ins def modulo3(): return &quot;&quot;&quot;0123456789%s&quot;&quot;&quot; % ins print Timer('through()', 'from __main__ import through').timeit(100000) print Timer('modulo1()…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frubyu.hatenablog.com%2Fentry%2F20090203%2F1233675880&quot; title=&quot;文字列の挿入を多用する場合のパフォーマンスについて - rubyu&amp;#39;s blog&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>2009-02-03 00:44:40</published>
  <title>文字列の挿入を多用する場合のパフォーマンスについて</title>
  <type>rich</type>
  <url>https://rubyu.hatenablog.com/entry/20090203/1233675880</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
